Jump to content

Module:Hepburner/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by DarmaniLink (talk | contribs) at 13:56, 2 March 2024 (tc). 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:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local p = require('Module:UnitTests')

-- Example unit test.
function p:test_smoke()
	self:preprocess_equals('{{#invoke:Hepburner|Kinou}}','Kinō')
	self:preprocess_equals('{{#invoke:Hepburner|ooki}}','ōki')
	self:preprocess_equals('{{#invoke:Hepburner|Oubou}}','Ōbō')
	self:preprocess_equals('{{#invoke:Hepburner|saa}}','sā')
	self:preprocess_equals('{{#invoke:Hepburner|Aasaa}}','Āsā')
	self:preprocess_equals('{{#invoke:Hepburner|iin}}','īn')
	self:preprocess_equals('{{#invoke:Hepburner|Iina}}','Īna')
	self:preprocess_equals('{{#invoke:Hepburner|shuu}}','shū')
	self:preprocess_equals('{{#invoke:Hepburner|uuna}}','Ūna')	
end

return p