Module:Marriage/testcases

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

-- Example unit test. function p:tests self:preprocess_equals('', 'Name (m. 1910; div. 1950)')	self:preprocess_equals('', '(m. 1910; div. 1950)')	self:preprocess_equals('', 'Name (div. 1950)')	self:preprocess_equals('', 'Name (m. 1910)')	self:preprocess_equals('', 'Name (m. 1910–1950)')	self:preprocess_equals('', 'Name (m. 1910; div.)') self:preprocess_equals('', '(m. 1910)')	self:preprocess_equals(, ) self:preprocess_equals('', 'Name (m. 1910–1950)')	self:preprocess_equals('', 'Name (m. 1910–1950)')	self:preprocess_equals('', 'Name (div.)') self:preprocess_equals('', '(div.)')

self:preprocess_equals('', 'Name (m. 1910; died 1950)') self:preprocess_equals('', '(m. 1910; died 1950)') self:preprocess_equals('', 'Name (died 1950)') self:preprocess_equals('', 'Name (died 1950)') self:preprocess_equals('', 'Name (died 1950)') self:preprocess_equals('', 'Name (m. 1910)')	self:preprocess_equals('', 'Name (m. 1910; sep.)') self:preprocess_equals('', '(ann.)')

end

return p