Module:EditAtWikidata/testcases explained

-- Unit tests for . Click talk page to run tests.

local p = require('Module:UnitTests')

function p:test1 self:preprocess_equals_preprocess('Universe', 'Universe')end

function p:test1_nowiki self:preprocess_equals_preprocess('Universe', 'Universe',)end

function p:test2 self:preprocess_equals_preprocess('Universe, main category', 'Universe, main category')end

function p:test2_nowiki self:preprocess_equals_preprocess('Universe, main category', 'Universe, main category',)end

function p:test3 self:preprocess_equals_preprocess('Universe', 'Universe')end

function p:test3_nowiki self:preprocess_equals_preprocess('Universe', 'Universe',)end

function p:test4 self:preprocess_equals_preprocess('Universe', 'Universe')end

function p:test4_nowiki self:preprocess_equals_preprocess('Universe', 'Universe',)end

function p:test5 self:preprocess_equals_preprocess('Universe', 'Universe')end

function p:test5_nowiki self:preprocess_equals_preprocess('Universe', 'Universe',)end

return p