Module:Stock tickers/NYSE/testcases
Appearance
![]() | This is the test cases page for the module Module:Stock tickers/NYSE. Results of the test cases. |
-- Example Unit tests for [[Module:Stock tickers/NYSE]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_preferred_shares()
self:preprocess_equals('{{#invoke:Stock tickers/NYSE | GetURL | PRE.PRD}}', 'http://www.nyse.com/quote/XNYS:PREpD')
self:preprocess_equals('{{#invoke:Stock tickers/NYSE | GetURL | BCS.PR}}', 'http://www.nyse.com/quote/XNYS:BCSp')
end
return p