Module:Genealogy/testcases

local p = require('Module:UnitTests')

function p:test_parents local out

-- No parents. out = '' self:preprocess_equals('', out, {nowiki=1}) -- Two parents out = '* Prince Philip, Duke of Edinburgh\n* Elizabeth II\n' self:preprocess_equals('', out, {nowiki=1})

out = '* Henry Edward Hall\n' self:preprocess_equals('', out, {nowiki=1})

end

return p