Module:Bad title suggestion/testcases

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

function p:test_basic self:preprocess_equals_preprocess(, ) end

function p:test_namespaced self:preprocess_equals_preprocess('{{#invoke:Bad title suggestion|main|}|Wikipedia:Village pump&#125;&#125;}}', '') end

function p:test_pipe self:preprocess_equals_preprocess(, ) end

function p:test_missing self:preprocess_equals_preprocess(, ) end

function p:test_category self:preprocess_equals_preprocess(, ) end

function p:test_first_invalid self:preprocess_equals_preprocess(, ) end

function p:test_empty self:preprocess_equals_preprocess(, ) end

return p