Module:String2/testcases

-- Unit tests for Module:. Click talk page to run tests. local p = require('Module:UnitTests')

function p:test_matchAny self:preprocess_equals('', '1') self:preprocess_equals(, ) self:preprocess_equals('', '2') self:preprocess_equals('', '2') end

function p:test_sentence self:preprocess_equals_preprocess('',		'The rain in spain falls mainly on the plane.',		{ stripmarker = true }) self:preprocess_equals_preprocess('',		'The rain in spain mainly on the plane.', { stripmarker = true }) end

return p