Module:Hepburner/testcases
Appearance
![]() | This is the test cases page for the module Module:Hepburner. Results of the test cases. |
-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local p = require('Module:UnitTests')
-- Example unit test.
function p:toHepburn_smoke()
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|Kinou}}','Kinō')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|ooki}}','ōki')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|Oubou}}','Ōbō')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|saa}}','sā')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|Aasaa}}','Āsā')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|iin}}','īn')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|Iina}}','Īna')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|shuu}}','shū')
self:preprocess_equals('{{#invoke:Hepburner|toHepburn|uuna}}','Ūna')
end
return p