-- Example Unit tests for . Click talk page to run tests.local p = require('Module:UnitTests')local nsDetect = require('Module:Namespace detect/sandbox')._main
function p:test_template_testcases_page self:preprocess_equals_many('',)end
function p:test_new self:preprocess_equals_many('',)end
function p:test_bad_titles self:preprocess_equals_many('',)end
function p:test_subject_namespaces self:preprocess_equals_many('',)end
function p:test_multiple_word_namespaces self:preprocess_equals_many('',)end
function p:test_returning_false self:equals('Return false from article', nsDetect, false) self:equals('Return false from talk page', nsDetect, false) self:equals('Return false from category page', nsDetect, false) self:equals('Return false from other page', nsDetect, false)end
return p