Jump to content

Module:ConvertIB/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hike395 (talk | contribs) at 12:22, 22 June 2024 (start tests). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- Unit tests for [[Module:ConvertIB]]. Click talk page to run tests.
local p = require('Module:UnitTests')

-- Example unit test.
function p:test_main()
	self:preprocess_equals_preprocess('{{#invoke:ConvertIB|convert|100|m2||sqft}}', '{{Convert|100|m2|sqft}}')
end

return p