Module:TNT/testcases

-- Unit tests for Module:TNT. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_msg self:preprocess_equals('', 'text message') self:preprocess_equals('', 'text message') self:preprocess_equals('', 'text message')

self:preprocess_equals('', 'text message a') self:preprocess_equals('', 'text message a ') self:preprocess_equals('', 'text message \n a \n ') self:preprocess_equals('', 'text message xyz ') self:preprocess_equals('', 'text message \n yyy \n ') end

return p