Documentation for this module may be created at Module:Wordify/testcases/doc
-- Unit tests for [[:Module:Formatnum]]. Click talk page to run tests.
local p = require('Module:UnitTests')
local function err(msg)
-- Generates wikitext error messages.
return mw.ustring.format('<strong class="error">Formatting error: %s</strong>', msg)
end
function p:test_wordify_India()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|numsys=ind}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|numsys=ind}}', '1.00 lakh')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000|numsys=ind|simplify=yes}}', 'lakh')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|numsys=ind}}', '10 lakh')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|10000000|numsys=ind|simplify=yes}}', 'crore')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|numsys=ind}}', '100 crore')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|numsys=ind|simplify=yes}}', 'lakh crore')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|numsys=ind}}', '1 lakh crore')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000000000000|numsys=ind|simplify=yes}}', 'crore crore')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000000000000|numsys=ind}}', '1 crore crore')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|lk=on|numsys=ind}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000|lk=on|numsys=ind|simplify=yes}}', '[[:en:lakh|lakh]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000|lk=on|numsys=ind}}', '1 [[:en:lakh|lakh]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|lk=on|numsys=ind}}', '10 [[:en:lakh|lakh]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|10000000|lk=on|numsys=ind|simplify=yes}}', '[[:en:crore|crore]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lk=on|numsys=ind}}', '100 [[:en:crore|crore]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|lk=on|numsys=ind|simplify=yes}}', '[[:en:lakh|lakh]] [[:en:crore|crore]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|lk=on|numsys=ind}}', '1 [[:en:lakh|lakh]] [[:en:crore|crore]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000000000000|lk=on|numsys=ind|simplify=yes}}', '[[:en:crore|crore]] crore')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000000000000|lk=on|numsys=ind}}', '1 [[:en:crore|crore]] crore')
end
function p:test_wordify_default()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2}}', '100,000.99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|999999.999|prec=2}}', '1.00 million')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|simplify=yes}}', 'million')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|simplify=yes|case=possessive}}', "million's")
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000|simplify=yes}}', 'millions')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000|simplify=yes|case=possessive}}', "millions'")
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000}}', '1 million')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000}}', '1 billion')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000}}', '1 trillion')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E39}}', '1 duodecillion')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42}}', '1 tredecillion')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|lk=on}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|lk=on}}', '100,000.99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|999999.999|prec=2|lk=on}}', '1.00 [[:en:Orders of magnitude (numbers)#106|million]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|lk=on}}', '1 [[:en:Orders of magnitude (numbers)#106|million]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lk=on}}', '1 [[:en:Orders of magnitude (numbers)#109|billion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|lk=on}}', '1 [[:en:Orders of magnitude (numbers)#1012|trillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E39|lk=on}}', '1 [[:en:Orders of magnitude (numbers)#1039|duodecillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on}}', '1 [[:en:Names of large numbers|tredecillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E100|lk=on}}', '1 [[:en:Names of large numbers|googol]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E303|lk=on}}', '1 [[:en:Names of large numbers|centillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lang=}}', '1 billion')
end
function p:test_wordify_USA()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|numsys=usa}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|numsys=usa}}', '100,000.99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|numsys=usa}}', '1 million')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|numsys=usa}}', '1 billion')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|numsys=usa}}', '1 trillion')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|lk=on|numsys=usa}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|lk=on|numsys=usa}}', '100,000.99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|999999.999|prec=2|lk=on|numsys=usa}}', '1.00 [[:en:Orders of magnitude (numbers)#106|million]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|lk=on|numsys=usa}}', '1 [[:en:Orders of magnitude (numbers)#106|million]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lk=on|numsys=usa}}', '1 [[:en:Orders of magnitude (numbers)#109|billion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|lk=on|numsys=usa}}', '1 [[:en:Orders of magnitude (numbers)#1012|trillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E39|lk=on|numsys=usa}}', '1 [[:en:Orders of magnitude (numbers)#1039|duodecillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|numsys=usa}}', '1 [[:en:Names of large numbers|tredecillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E100|lk=on|numsys=usa}}', '1 [[:en:Names of large numbers|googol]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E303|lk=on|numsys=usa}}', '1 [[:en:Names of large numbers|centillion]]')
end
function p:test_wordify_Long()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|numsys=long}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|numsys=long}}', '100,000.99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|999999.999|prec=2|numsys=long}}', '1.00 million')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|numsys=long|simplify=yes}}', 'million')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|numsys=long}}', '1 million')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|numsys=long}}', '1 milliard')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|numsys=long}}', '1 billion')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|lk=on|numsys=long}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|lk=on|numsys=long}}', '100,000.99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|999999.999|prec=2|lk=on|numsys=long}}', '1.00 [[:en:Orders of magnitude (numbers)#106|million]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|lk=on|numsys=long}}', '1 [[:en:Orders of magnitude (numbers)#106|million]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lk=on|numsys=long}}', '1 [[:en:Orders of magnitude (numbers)#109|milliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|lk=on|numsys=long}}', '1 [[:en:Orders of magnitude (numbers)#1012|billion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000|numsys=long|lang=}}', '2 milliard')
end
function p:test_wordify_French()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E36|lk=on|lang=fr}}', '1 [[:fr:Ordres de grandeur de nombres#1036|sextillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E39|lk=on|lang=fr}}', '1 [[:fr:Noms des grands nombres|sextilliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=fr}}', '1 [[:fr:Noms des grands nombres|septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1999999.999|prec=2|lk=on|numsys=long}}', '2.00 [[:en:Orders of magnitude (numbers)#106|million]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|lk=on|lang=fr}}', '100\194\160000,99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000|lang=fr}}', '2 millions')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000|lang=fr}}', '2 milliards')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000000|lang=fr}}', '2 billions')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1999999.999|prec=2|lk=on|lang=fr}}', '2.00 [[:fr:Ordres de grandeur de nombres#106|millions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000|lk=on|lang=fr}}', '2 [[:fr:Ordres de grandeur de nombres#106|millions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000|lk=on|lang=fr}}', '2 [[:fr:Ordres de grandeur de nombres#109|milliards]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000000|lk=on|lang=fr}}', '2 [[:fr:Ordres de grandeur de nombres#1012|billions]]')
end
function p:test_wordify_Portuguese()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1|lk=on|lang=pt}}', '1')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|100000.99|prec=2|lk=on|lang=pt}}', '100\194\160000,99')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|lang=pt}}', '1 milhão')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lang=pt}}', 'mil milhões')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|lang=pt}}', '1 bilião')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000|lk=on|lang=pt}}', '1 [[:en:Orders of magnitude (numbers)#106|milhão]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lk=on|lang=pt}}', '[[:en:Orders of magnitude (numbers)#109|mil milhões]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000000|lk=on|lang=pt}}', '1 [[:en:Orders of magnitude (numbers)#1012|bilião]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E39|lk=on|lang=pt}}', '[[:en:Orders of magnitude (numbers)#1039|mil sextiliões]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=pt}}', '1 [[:en:Names of large numbers|septilião]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000|lang=pt}}', '2 milhões')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000|lang=pt}}', '2 mil milhões')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000000|lang=pt}}', '2 biliões')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000|lk=on|lang=pt}}', '2 [[:en:Orders of magnitude (numbers)#106|milhões]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000|lk=on|lang=pt}}', '2 [[:en:Orders of magnitude (numbers)#109|mil milhões]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2000000000000|lk=on|lang=pt}}', '2 [[:en:Orders of magnitude (numbers)#1012|biliões]]')
end
function p:test_wordify_Aragonese()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E9|lk=on|lang=an}}', '[[:an:Potencia de diez|mil millons]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E9|lk=on|lang=an}}', '2 [[:an:Potencia de diez|mil millons]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E12|lk=on|lang=an}}', '1 [[:an:Potencia de diez|billón]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E12|lk=on|lang=an}}', '2 [[:an:Potencia de diez|billons]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E15|lk=on|lang=an}}', '[[:an:Potencia de diez|mil billons]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E15|lk=on|lang=an}}', '2 [[:an:Potencia de diez|mil billons]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E27|lk=on|lang=an}}', '1000 [[:an:Potencia de diez|quatrillons]]')
end
function p:test_wordify_Asturian()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E9|lk=on|lang=ast}}', '[[:ast:Escales numbériques llarga y curtia|mil millones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E9|lk=on|lang=ast}}', '2 [[:ast:Escales numbériques llarga y curtia|mil millones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E12|lk=on|lang=ast}}', '1 [[:ast:Escales numbériques llarga y curtia|billón]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E12|lk=on|lang=ast}}', '2 [[:ast:Escales numbériques llarga y curtia|billones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E15|lk=on|lang=ast}}', '[[:ast:Escales numbériques llarga y curtia|mil billones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E15|lk=on|lang=ast}}', '2 [[:ast:Escales numbériques llarga y curtia|mil billones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E27|lk=on|lang=ast}}', '[[:ast:Escales numbériques llarga y curtia|mil cuatrillones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E33|lk=on|lang=ast}}', '1000 [[:ast:Escales numbériques llarga y curtia|quintillones]]')
end
function p:test_wordify_Spanish()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E9|lk=on|lang=es}}', '1 [[:es:Orden de magnitud (números)#109|millardo]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E9|lk=on|lang=es}}', '2 [[:es:Orden de magnitud (números)#109|millardos]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=es}}', '1 [[:es:Orden de magnitud (números)#1042|septillón]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=es}}', '2 [[:es:Orden de magnitud (números)#1042|septillones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=es}}', '[[:es:Orden de magnitud (números)#1045|mil septillones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=es}}', '2 [[:es:Orden de magnitud (números)#1045|mil septillones]]')
end
function p:test_wordify_Galician()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E9|lk=on|lang=gl}}', '[[:en:Orders of magnitude (numbers)#109|mil millóns]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E9|lk=on|lang=gl}}', '2 [[:en:Orders of magnitude (numbers)#109|mil millóns]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E12|lk=on|lang=gl}}', '1 [[:en:Orders of magnitude (numbers)#1012|billón]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E12|lk=on|lang=gl}}', '2 [[:en:Orders of magnitude (numbers)#1012|billóns]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E15|lk=on|lang=gl}}', '[[:en:Orders of magnitude (numbers)#1015|mil billóns]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E15|lk=on|lang=gl}}', '2 [[:en:Orders of magnitude (numbers)#1015|mil billóns]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E21|lk=on|lang=gl}}', '1.000 [[:en:Orders of magnitude (numbers)#1018|trillóns]]')
end
function p:test_wordify_Interlingua()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E9|lk=on|lang=ia}}', '1 [[:ia:milliardo|milliardo]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E9|lk=on|lang=ia}}', '2 [[:ia:milliardo|milliardos]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E12|lk=on|lang=ia}}', '1 [[:ia:billion|billion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E12|lk=on|lang=ia}}', '2 [[:ia:billion|billiones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E15|lk=on|lang=ia}}', 'mille [[:ia:billion|billiones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E15|lk=on|lang=ia}}', '2 mille [[:ia:billion|billiones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E21|lk=on|lang=ia}}', '1\194\160000 [[:ia:trillion|trilliones]]')
end
function p:test_wordify_Finnish()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=fi}}', '1 [[:fi:Suurten lukujen nimet|septiljoona]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=fi}}', '2 [[:fi:Suurten lukujen nimet|septiljoonaa]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=fi|simplify=yes}}', '[[:fi:Suurten lukujen nimet|septiljoonat]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=fi}}', '[[:fi:Suurten lukujen nimet|tuhat septiljoonaa]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=fi}}', '2 [[:fi:Suurten lukujen nimet|tuhatta septiljoonaa]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=fi|simplify=yes}}', '[[:fi:Suurten lukujen nimet|tuhat septiljoonaa]]')
end
function p:test_wordify_Hungarian()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu}}', '1 [[:hu:Tíz hatványai|szeptillió]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu}}', '2 [[:hu:Tíz hatványai|szeptilliók]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu}}', '1 [[:hu:Tíz hatványai|szeptilliárd]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu}}', '2 [[:hu:Tíz hatványai|szeptilliárdok]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|case=accus}}', '1 [[:hu:Tíz hatványai|szeptilliót]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|case=accus}}', '2 [[:hu:Tíz hatványai|szeptilliókat]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|case=possessi}}', '1 [[:hu:Tíz hatványai|szeptillióé]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|case=possessi}}', '2 [[:hu:Tíz hatványai|szeptillióké]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|case=possessi}}', '1 [[:hu:Tíz hatványai|szeptilliárdé]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|case=possessi}}', '2 [[:hu:Tíz hatványai|szeptilliárdoké]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|case=possessi|possessed=true}}', '1 [[:hu:Tíz hatványai|szeptillióéi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|case=possessi|possessed=true}}', '2 [[:hu:Tíz hatványai|szeptilliókéi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|case=possessi|possessed=true}}', '1 [[:hu:Tíz hatványai|szeptilliárdéi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|case=possessi|possessed=true}}', '2 [[:hu:Tíz hatványai|szeptilliárdokéi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|person=1}}', '1 [[:hu:Tíz hatványai|szeptillióm]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|person=1}}', '2 [[:hu:Tíz hatványai|szeptillióim]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|person=1}}', '1 [[:hu:Tíz hatványai|szeptilliárdom]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|person=1}}', '2 [[:hu:Tíz hatványai|szeptilliárdaim]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|person=2}}', '1 [[:hu:Tíz hatványai|szeptilliód]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|person=2}}', '2 [[:hu:Tíz hatványai|szeptillióid]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|person=2}}', '1 [[:hu:Tíz hatványai|szeptilliárdod]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|person=2}}', '2 [[:hu:Tíz hatványai|szeptilliárdjaid]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|person=3}}', '1 [[:hu:Tíz hatványai|szeptilliója]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|person=3}}', '2 [[:hu:Tíz hatványai|szeptilliói]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|person=3}}', '1 [[:hu:Tíz hatványai|szeptilliárdja]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|person=3}}', '2 [[:hu:Tíz hatványai|szeptilliárdjai]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|person=1|plural=yes}}', '1 [[:hu:Tíz hatványai|szeptilliónk]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|person=1|plural=yes}}', '2 [[:hu:Tíz hatványai|szeptillióink]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|person=1|plural=yes}}', '1 [[:hu:Tíz hatványai|szeptilliárdunk]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|person=1|plural=yes}}', '2 [[:hu:Tíz hatványai|szeptilliárdjaink]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|person=2|plural=yes}}', '1 [[:hu:Tíz hatványai|szeptilliótok]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|person=2|plural=yes}}', '2 [[:hu:Tíz hatványai|szeptillióitok]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|person=2|plural=yes}}', '1 [[:hu:Tíz hatványai|szeptilliárdotok]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|person=2|plural=yes}}', '2 [[:hu:Tíz hatványai|szeptilliárdjaitok]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=hu|person=3|plural=yes}}', '1 [[:hu:Tíz hatványai|szeptilliójuk]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=hu|person=3|plural=yes}}', '2 [[:hu:Tíz hatványai|szeptillióik]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=hu|person=3|plural=yes}}', '1 [[:hu:Tíz hatványai|szeptilliárdjuk]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=hu|person=3|plural=yes}}', '2 [[:hu:Tíz hatványai|szeptilliárdjaik]]')
end
function p:test_wordify_Italian()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E30|lk=on|lang=it}}', '1 [[:it:Ordini di grandezza (numeri)#1030|quintilione]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E30|lk=on|lang=it}}', '2 [[:it:Ordini di grandezza (numeri)#1030|quintilioni]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E33|lk=on|lang=it}}', '1 [[:it:Ordini di grandezza (numeri)#1033|quintiliardo]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E33|lk=on|lang=it}}', '2 [[:it:Ordini di grandezza (numeri)#1033|quintiliardi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E36|lk=on|lang=it}}', '1\194\160000 [[:it:Ordini di grandezza (numeri)#1033|quintiliardi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E39|lk=on|lang=it}}', '1\194\160000\194\160000 [[:it:Ordini di grandezza (numeri)#1033|quintiliardi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=it}}', '1\194\160000\194\160000\194\160000 [[:it:Ordini di grandezza (numeri)#1033|quintiliardi]]')
end
function p:test_wordify_Sicilian()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=scn}}', '1 [[:en:Orders of magnitude (numbers)#1024|quadriliuni]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E24|lk=on|lang=scn}}', '2 [[:en:Orders of magnitude (numbers)#1024|quadriliuni]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E27|lk=on|lang=scn}}', '1 [[:en:Orders of magnitude (numbers)#1027|quadriliardu]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E27|lk=on|lang=scn}}', '2 [[:en:Orders of magnitude (numbers)#1027|quadriliardi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E30|lk=on|lang=scn}}', '1\194\160000 [[:en:Orders of magnitude (numbers)#1027|quadriliardi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E33|lk=on|lang=scn}}', '1\194\160000\194\160000 [[:en:Orders of magnitude (numbers)#1027|quadriliardi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E36|lk=on|lang=scn}}', '1\194\160000\194\160000\194\160000 [[:en:Orders of magnitude (numbers)#1027|quadriliardi]]')
end
function p:test_wordify_Icelandic()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E27|lk=on|lang=is}}', '1 [[:is:Stórar tölur|kvaðrilljarður]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E27|lk=on|lang=is}}', '2 [[:is:Stórar tölur|kvaðrilljarðar]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E30|lk=on|lang=is}}', '1 [[:is:Stórar tölur|kvintilljón]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E30|lk=on|lang=is}}', '2 [[:is:Stórar tölur|kvintilljónir]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E33|lk=on|lang=is}}', '1.000 [[:is:Stórar tölur|kvintilljónir]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E36|lk=on|lang=is}}', '1.000.000 [[:is:Stórar tölur|kvintilljónir]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E39|lk=on|lang=is}}', '1.000.000.000 [[:is:Stórar tölur|kvintilljónir]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=is}}', '1.000.000.000.000 [[:is:Stórar tölur|kvintilljónir]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E27|lk=on|lang=is|state=d}}', '1 [[:is:Stórar tölur|kvaðrilljarðurinn]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E27|lk=on|lang=is|state=d}}', '2 [[:is:Stórar tölur|kvaðrilljarðarnir]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E30|lk=on|lang=is|state=d}}', '1 [[:is:Stórar tölur|kvintilljónin]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E30|lk=on|lang=is|state=d}}', '2 [[:is:Stórar tölur|kvintilljónirnar]]')
end
function p:test_wordify_Catalan()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=ca}}', '1 [[:ca:Escales curta i llarga|septilió]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=ca}}', '2 [[:ca:Escales curta i llarga|septilions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E42|lk=on|lang=ca}}', '3 [[:ca:Escales curta i llarga|septilions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E42|lk=on|lang=ca}}', '4 [[:ca:Escales curta i llarga|septilions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E42|lk=on|lang=ca}}', '5 [[:ca:Escales curta i llarga|septilions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E42|lk=on|lang=ca}}', '6 [[:ca:Escales curta i llarga|septilions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=ca}}', '7 [[:ca:Escales curta i llarga|septilions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=ca|prec=1}}', '6,5 [[:ca:Escales curta i llarga|septilions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=ca}}', '1 [[:ca:Escales curta i llarga|septiliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=ca}}', '2 [[:ca:Escales curta i llarga|septiliards]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E45|lk=on|lang=ca}}', '3 [[:ca:Escales curta i llarga|septiliards]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E45|lk=on|lang=ca}}', '4 [[:ca:Escales curta i llarga|septiliards]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E45|lk=on|lang=ca}}', '5 [[:ca:Escales curta i llarga|septiliards]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E45|lk=on|lang=ca}}', '6 [[:ca:Escales curta i llarga|septiliards]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=ca}}', '7 [[:ca:Escales curta i llarga|septiliards]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=ca|prec=1}}', '6,5 [[:ca:Escales curta i llarga|septiliards]]')
end
function p:test_wordify_Danish()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=da}}', '1 [[:da:Store tal|septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=da}}', '2 [[:da:Store tal|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E42|lk=on|lang=da}}', '3 [[:da:Store tal|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E42|lk=on|lang=da}}', '4 [[:da:Store tal|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E42|lk=on|lang=da}}', '5 [[:da:Store tal|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E42|lk=on|lang=da}}', '6 [[:da:Store tal|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=da}}', '7 [[:da:Store tal|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=da|prec=1}}', '6,5 [[:da:Store tal|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=da}}', '1 [[:da:Store tal|septilliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=da}}', '2 [[:da:Store tal|septilliarder]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E45|lk=on|lang=da}}', '3 [[:da:Store tal|septilliarder]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E45|lk=on|lang=da}}', '4 [[:da:Store tal|septilliarder]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E45|lk=on|lang=da}}', '5 [[:da:Store tal|septilliarder]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E45|lk=on|lang=da}}', '6 [[:da:Store tal|septilliarder]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=da}}', '7 [[:da:Store tal|septilliarder]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=da|prec=1}}', '6,5 [[:da:Store tal|septilliarder]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=da|state=d}}', '1 [[:da:Store tal|septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=da|state=d}}', '2 [[:da:Store tal|septillionerne]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=da|state=d}}', '1 [[:da:Store tal|septilliarden]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=da|state=d}}', '2 [[:da:Store tal|septilliarderne]]')
end
function p:test_wordify_Polish()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=pl}}', '1 [[:pl:Liczebniki główne potęg tysiąca|septylion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=pl}}', '2 [[:pl:Liczebniki główne potęg tysiąca|septyliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E42|lk=on|lang=pl}}', '3 [[:pl:Liczebniki główne potęg tysiąca|septyliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E42|lk=on|lang=pl}}', '4 [[:pl:Liczebniki główne potęg tysiąca|septyliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E42|lk=on|lang=pl}}', '5 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|10E42|lk=on|lang=pl}}', '10 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|11E42|lk=on|lang=pl}}', '11 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|12E42|lk=on|lang=pl}}', '12 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|13E42|lk=on|lang=pl}}', '13 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|14E42|lk=on|lang=pl}}', '14 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|15E42|lk=on|lang=pl}}', '15 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|20E42|lk=on|lang=pl}}', '20 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|21E42|lk=on|lang=pl}}', '21 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|22E42|lk=on|lang=pl}}', '22 [[:pl:Liczebniki główne potęg tysiąca|septyliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|23E42|lk=on|lang=pl}}', '23 [[:pl:Liczebniki główne potęg tysiąca|septyliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|24E42|lk=on|lang=pl}}', '24 [[:pl:Liczebniki główne potęg tysiąca|septyliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|25E42|lk=on|lang=pl}}', '25 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=pl}}', '7 [[:pl:Liczebniki główne potęg tysiąca|septylionów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=pl|prec=1}}', '6,5 [[:pl:Liczebniki główne potęg tysiąca|septyliona]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=pl}}', '1 [[:pl:Liczebniki główne potęg tysiąca|septyliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=pl}}', '2 [[:pl:Liczebniki główne potęg tysiąca|septyliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E45|lk=on|lang=pl}}', '3 [[:pl:Liczebniki główne potęg tysiąca|septyliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E45|lk=on|lang=pl}}', '4 [[:pl:Liczebniki główne potęg tysiąca|septyliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E45|lk=on|lang=pl}}', '5 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|10E45|lk=on|lang=pl}}', '10 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|11E45|lk=on|lang=pl}}', '11 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|12E45|lk=on|lang=pl}}', '12 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|13E45|lk=on|lang=pl}}', '13 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|14E45|lk=on|lang=pl}}', '14 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|15E45|lk=on|lang=pl}}', '15 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|20E45|lk=on|lang=pl}}', '20 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|21E45|lk=on|lang=pl}}', '21 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|22E45|lk=on|lang=pl}}', '22 [[:pl:Liczebniki główne potęg tysiąca|septyliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|23E45|lk=on|lang=pl}}', '23 [[:pl:Liczebniki główne potęg tysiąca|septyliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|24E45|lk=on|lang=pl}}', '24 [[:pl:Liczebniki główne potęg tysiąca|septyliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|25E45|lk=on|lang=pl}}', '25 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=pl}}', '7 [[:pl:Liczebniki główne potęg tysiąca|septyliardów]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=pl|prec=1}}', '6,5 [[:pl:Liczebniki główne potęg tysiąca|septyliarda]]')
end
function p:test_wordify_Czech()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=cs}}', '1 [[:cs:Desítková soustava#Názvy velkých čísel|septilion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=cs}}', '2 [[:cs:Desítková soustava#Názvy velkých čísel|septiliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E42|lk=on|lang=cs}}', '3 [[:cs:Desítková soustava#Názvy velkých čísel|septiliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E42|lk=on|lang=cs}}', '4 [[:cs:Desítková soustava#Názvy velkých čísel|septiliony]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E42|lk=on|lang=cs}}', '5 [[:cs:Desítková soustava#Názvy velkých čísel|septilionů]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E42|lk=on|lang=cs}}', '6 [[:cs:Desítková soustava#Názvy velkých čísel|septilionů]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=cs}}', '7 [[:cs:Desítková soustava#Názvy velkých čísel|septilionů]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=cs|prec=1}}', '6,5 [[:cs:Desítková soustava#Názvy velkých čísel|septilionu]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=cs}}', '1 [[:cs:Desítková soustava#Názvy velkých čísel|septiliarda]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=cs}}', '2 [[:cs:Desítková soustava#Názvy velkých čísel|septiliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E45|lk=on|lang=cs}}', '3 [[:cs:Desítková soustava#Názvy velkých čísel|septiliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E45|lk=on|lang=cs}}', '4 [[:cs:Desítková soustava#Názvy velkých čísel|septiliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E45|lk=on|lang=cs}}', '5 [[:cs:Desítková soustava#Názvy velkých čísel|septiliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E45|lk=on|lang=cs}}', '6 [[:cs:Desítková soustava#Názvy velkých čísel|septiliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=cs}}', '7 [[:cs:Desítková soustava#Názvy velkých čísel|septiliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=cs|prec=1}}', '6,5 [[:cs:Desítková soustava#Názvy velkých čísel|septiliardy]]')
end
function p:test_wordify_Slovak()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sk}}', '1 [[:sk:Veľké čísla|septilión]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sk}}', '2 [[:sk:Veľké čísla|septilióny]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E42|lk=on|lang=sk}}', '3 [[:sk:Veľké čísla|septilióny]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E42|lk=on|lang=sk}}', '4 [[:sk:Veľké čísla|septilióny]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E42|lk=on|lang=sk}}', '5 [[:sk:Veľké čísla|septiliónov]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E42|lk=on|lang=sk}}', '6 [[:sk:Veľké čísla|septiliónov]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=sk}}', '7 [[:sk:Veľké čísla|septiliónov]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=sk|prec=1}}', '6,5 [[:sk:Veľké čísla|septilióna]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=sk}}', '1 [[:sk:Veľké čísla|septiliarda]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=sk}}', '2 [[:sk:Veľké čísla|septiliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E45|lk=on|lang=sk}}', '3 [[:sk:Veľké čísla|septiliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E45|lk=on|lang=sk}}', '4 [[:sk:Veľké čísla|septiliardy]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E45|lk=on|lang=sk}}', '5 [[:sk:Veľké čísla|septiliárd]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E45|lk=on|lang=sk}}', '6 [[:sk:Veľké čísla|septiliárd]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=sk}}', '7 [[:sk:Veľké čísla|septiliárd]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=sk|prec=1}}', '6,5 [[:sk:Veľké čísla|septiliárd]]')
end
function p:test_wordify_Slovene()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sl}}', '1 [[:sl:Imena velikih števil|septilijon]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sl}}', '2 [[:sl:Imena velikih števil|septilijona]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E42|lk=on|lang=sl}}', '3 [[:sl:Imena velikih števil|septilijone]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E42|lk=on|lang=sl}}', '4 [[:sl:Imena velikih števil|septilijone]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E42|lk=on|lang=sl}}', '5 [[:sl:Imena velikih števil|septilijonov]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E42|lk=on|lang=sl}}', '6 [[:sl:Imena velikih števil|septilijonov]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=sl}}', '7 [[:sl:Imena velikih števil|septilijonov]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E42|lk=on|lang=sl|prec=1}}', '6,5 [[:sl:Imena velikih števil|septilijona]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=sl}}', '1 [[:sl:Imena velikih števil|septilijarda]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=sl}}', '2 [[:sl:Imena velikih števil|septilijardi]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|3E45|lk=on|lang=sl}}', '3 [[:sl:Imena velikih števil|septilijarde]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|4E45|lk=on|lang=sl}}', '4 [[:sl:Imena velikih števil|septilijarde]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|5E45|lk=on|lang=sl}}', '5 [[:sl:Imena velikih števil|septilijard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6E45|lk=on|lang=sl}}', '6 [[:sl:Imena velikih števil|septilijard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=sl}}', '7 [[:sl:Imena velikih števil|septilijard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|6.5E45|lk=on|lang=sl|prec=1}}', '6,5 [[:sl:Imena velikih števil|septilijarde]]')
end
function p:test_wordify_German()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=de}}', '1 [[:de:Zahlennamen|Septilliarde]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=de}}', '2 [[:de:Zahlennamen|Septilliarden]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=n}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=n}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=nominative}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=nominative}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=Nominativ}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=Nominativ}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=g}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=g}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=genitive}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=genitive}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=Genitiv}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=Genitiv}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=da}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=da}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=dative}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=dative}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=Dativ}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=Dativ}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=accus}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=accus}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=accusative}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=accusative}}', '2 [[:de:Zahlennamen|Septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=de|case=Akkusativ}}', '1 [[:de:Zahlennamen|Septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=de|case=Akkusativ}}', '2 [[:de:Zahlennamen|Septillionen]]')
end
function p:test_wordify_Luxembourgish()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=lb}}', '1 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrillioun]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E24|lk=on|lang=lb}}', '2 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrilliounen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E27|lk=on|lang=lb}}', '1 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrilliard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E27|lk=on|lang=lb}}', '2 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrilliarden]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=lb|case=n}}', '1 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrillioun]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E24|lk=on|lang=lb|case=n}}', '2 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrilliounen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=lb|case=da}}', '1 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrillioun]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E24|lk=on|lang=lb|case=da}}', '2 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrilliounen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=lb|case=accus}}', '1 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrillioun]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E24|lk=on|lang=lb|case=accus}}', '2 [[:lb:Lëscht vun de Prefixe fir Moosseenheeten|Quadrilliounen]]')
end
function p:test_wordify_Latin()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=la}}', '1 [[:la:Nomina permagnorum numerorum|septillio]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=la}}', '2 [[:la:Nomina permagnorum numerorum|septillionia]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=la|class=n}}', '2 [[:la:Nomina permagnorum numerorum|septillionia]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=la|class=m}}', '2 [[:la:Nomina permagnorum numerorum|septilliones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=la|class=f}}', '2 [[:la:Nomina permagnorum numerorum|septilliones]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E45|lk=on|lang=la}}', '1 [[:la:Nomina permagnorum numerorum|septilliardum]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E45|lk=on|lang=la}}', '2 [[:la:Nomina permagnorum numerorum|septilliarda]]')
end
function p:test_wordify_Esperanto()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=eo}}', '1 [[:eo:Vortoj por grandegaj nombroj|sepiliono]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=eo}}', '2 [[:eo:Vortoj por grandegaj nombroj|sepilionoj]]')
end
function p:test_wordify_Dutch()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=nl}}', '1 [[:nl:Lijst van machten van tien|septiljoen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=nl}}', '2 [[:nl:Lijst van machten van tien|septiljoen]]')
end
function p:test_wordify_Afrikaans()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=af}}', '1 [[:af:Kort en lang skaalverdeling|septiljoen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=af}}', '2 [[:af:Kort en lang skaalverdeling|septiljoen]]')
end
function p:test_wordify_Norwegian()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no}}', '1 [[:no:Navn på store tall|septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no}}', '2 [[:no:Navn på store tall|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|state=d}}', '1 [[:no:Navn på store tall|septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|state=d}}', '2 [[:no:Navn på store tall|septillionene]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=nominativ}}', '1 [[:no:Navn på store tall|septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=nominativ}}', '2 [[:no:Navn på store tall|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=nominativ|state=d}}', '1 [[:no:Navn på store tall|septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=nominativ|state=d}}', '2 [[:no:Navn på store tall|septillionene]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=genitiv}}', '1 [[:no:Navn på store tall|septillions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=genitiv}}', '2 [[:no:Navn på store tall|septillioners]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=genitiv|state=d}}', '1 [[:no:Navn på store tall|septillionens]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=genitiv|state=d}}', '2 [[:no:Navn på store tall|septillionenes]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=n}}', '1 [[:no:Navn på store tall|septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=n}}', '2 [[:no:Navn på store tall|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=n|state=d}}', '1 [[:no:Navn på store tall|septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=n|state=d}}', '2 [[:no:Navn på store tall|septillionene]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=g}}', '1 [[:no:Navn på store tall|septillions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=g}}', '2 [[:no:Navn på store tall|septillioners]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=g|state=d}}', '1 [[:no:Navn på store tall|septillionens]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=g|state=d}}', '2 [[:no:Navn på store tall|septillionenes]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=nominative}}', '1 [[:no:Navn på store tall|septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=nominative}}', '2 [[:no:Navn på store tall|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=nominative|state=d}}', '1 [[:no:Navn på store tall|septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=nominative|state=d}}', '2 [[:no:Navn på store tall|septillionene]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=genitive}}', '1 [[:no:Navn på store tall|septillions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=genitive}}', '2 [[:no:Navn på store tall|septillioners]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=genitive|state=d}}', '1 [[:no:Navn på store tall|septillionens]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=genitive|state=d}}', '2 [[:no:Navn på store tall|septillionenes]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=Nominativ}}', '1 [[:no:Navn på store tall|septillion]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=Nominativ}}', '2 [[:no:Navn på store tall|septillioner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=Nominativ|state=d}}', '1 [[:no:Navn på store tall|septillionen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=Nominativ|state=d}}', '2 [[:no:Navn på store tall|septillionene]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=Genitiv}}', '1 [[:no:Navn på store tall|septillions]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=Genitiv}}', '2 [[:no:Navn på store tall|septillioners]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=no|case=Genitiv|state=d}}', '1 [[:no:Navn på store tall|septillionens]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=no|case=Genitiv|state=d}}', '2 [[:no:Navn på store tall|septillionenes]]')
end
function p:test_wordify_Swedish()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1000000000|lk=on|lang=sv}}', '1 [[:sv:Namn på stora tal|miljard]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sv}}', '1 [[:sv:Namn på stora tal|septiljon]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sv}}', '2 [[:sv:Namn på stora tal|septiljoner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sv|state=d}}', '1 [[:sv:Namn på stora tal|septiljonen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sv|state=d}}', '2 [[:sv:Namn på stora tal|septiljonerna]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sv|case=nominativ}}', '1 [[:sv:Namn på stora tal|septiljon]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sv|case=nominativ}}', '2 [[:sv:Namn på stora tal|septiljoner]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sv|case=nominativ|state=d}}', '1 [[:sv:Namn på stora tal|septiljonen]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sv|case=nominativ|state=d}}', '2 [[:sv:Namn på stora tal|septiljonerna]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sv|case=genitiv}}', '1 [[:sv:Namn på stora tal|septiljons]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sv|case=genitiv}}', '2 [[:sv:Namn på stora tal|septiljoners]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E42|lk=on|lang=sv|case=genitiv|state=d}}', '1 [[:sv:Namn på stora tal|septiljonens]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|2E42|lk=on|lang=sv|case=genitiv|state=d}}', '2 [[:sv:Namn på stora tal|septiljonernas]]')
end
function p:test_wordify_Japanese()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E4|lk=on|lang=ja}}', '1[[:ja:10の冪|万]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|110000|lk=on|lang=ja}}', '11[[:ja:10の冪|万]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|111000|lk=on|lang=ja|prec=1}}', '11.1[[:ja:10の冪|万]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=ja|simplify=yes}}', '[[:ja:10の冪|秭]]')
end
function p:test_wordify_Korean()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E4|lk=on|lang=ko}}', '1[[:ko:큰_수의_이름|만]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|110000|lk=on|lang=ko}}', '11[[:ko:큰_수의_이름|만]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|111000|lk=on|lang=ko|prec=1}}', '11.1[[:ko:큰_수의_이름|만]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=ko|simplify=yes}}', '[[:ko:큰_수의_이름|자]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E4|lk=on|lang=ko|script=hanja}}', '1[[:ko:큰_수의_이름|萬]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|110000|lk=on|lang=ko|script=hanja}}', '11[[:ko:큰_수의_이름|萬]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|111000|lk=on|lang=ko|prec=1|script=hanja}}', '11.1[[:ko:큰_수의_이름|萬]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=ko|simplify=yes|script=hanja}}', '[[:ko:큰_수의_이름|秭]]')
end
function p:test_wordify_Chinese()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E4|lk=on|lang=zh}}', '1[[:zh:中文数字|万]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|110000|lk=on|lang=zh}}', '11[[:zh:中文数字|万]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|111000|lk=on|lang=zh|prec=1}}', '11.1[[:zh:中文数字|万]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=zh|simplify=yes}}', '[[:zh:中文数字|秭]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E4|lk=on|lang=zh|script=hant}}', '1[[:zh:中文数字|萬]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|110000|lk=on|lang=zh|script=hant}}', '11[[:zh:中文数字|萬]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|111000|lk=on|lang=zh|prec=1|script=hant}}', '11.1[[:zh:中文数字|萬]]')
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1E24|lk=on|lang=zh|simplify=yes|script=hant}}', '[[:zh:中文数字|秭]]')
end
function p:test_wordify_error()
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|Bad}}', err("Not a number: Bad"))
self:preprocess_equals('{{#invoke:Wordify/sandbox|main|1=<big><span style="color: red;">Bad</span></big>}}', err('Not a number: <big><span style="color: red;">Bad</span></big>'))
end
return p