-- Unit tests for . Click talk page to run tests.local p = require('Module:UnitTests')
-- Example unit test.function p:test_countrynames self:preprocess_equals('', 'United States') self:preprocess_equals('', 'China') self:preprocess_equals('', 'Nazi Germany') self:preprocess_equals('', 'United States, China, Nazi Germany')end
function p:test_countrynames_sandbox self:preprocess_equals('', 'United States') self:preprocess_equals('', 'China') self:preprocess_equals('', 'Nazi Germany') self:preprocess_equals('', 'United States, China, Nazi Germany')end
return p