Modul:Br separated entries/testiranje

Dokumentaciju za ovaj modul možete napraviti na stranici Modul:Br separated entries/testiranje/dok

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

function p:test_template_testcases_page()
    self:preprocess_equals_preprocess_many('{{br separated entries|', '}}', '{{br separated entries|', '}}', {
        {'unos1|unos2|unos3'},
        {' |unos2|unos3'},
        {'unos1| |unos3'},
        {'unos1|unos2| '},
        {'unos1| | '},
        {' |unos2| '},
        {' | |unos3'},
        {' | | '},
        {' unos1 | unos2 | unos3 '},
        {' | unos2 | unos3 '},
        {' unos1 | | unos3 '},
        {' unos1 | unos2 | '},
        {' unos1 | | '},
        {' | unos2 | '},
        {' | | unos3 '},
        {'||'},
        {'|unos2|unos3'},
        {'unos1||unos3'},
        {'unos1|unos2|'},
        {'unos1||'},
        {'|unos2|'},
        {'||unos3'},
        {'unos1|unos2|unos3|unos4|unos5|unos6'},
        {'unos1|unos2|unos3|7=unos7'},
        {'unos1|unos2|unos3|unos4|3=noviunos3'}
    }, {nowiki = 'yes'})
end

return p