Module:Vanguard funds/testcases

-- Unit tests for Module:Vanguard funds. Click talk page to run tests. -- Example usage: --  -- Console example: --  mw.log(p.run_tests(mw.getCurrentFrame))

local p = require('Module:UnitTests')

function p:test_known_mutual_funds self:preprocess_equals("", "f:vtsax") self:preprocess_equals("", "f:vtsax") self:preprocess_equals("", "f:vtsax") end

function p:test_known_ETFs self:preprocess_equals("", "e:vti") self:preprocess_equals("", "e:vti") self:preprocess_equals("", "e:vti") end

function p:test_missing_entries self:preprocess_equals(		"",		"undefined",		{nowiki = true}) self:preprocess_equals(		"",		"undefined",		{nowiki = true}) end

return p