-- Unit tests for . Click talk page to run tests.local p = require('Module:UnitTests')local wdib = require('Module:WikidataIB')local wd = require('Module:Wd')
function p:test_live self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', ) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', ) self:preprocess_equals('', ) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', ) self:preprocess_equals('', wdib._getValue .. ' ') self:preprocess_equals('', wdib._getValue .. '
') self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', ) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', ) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', ) self:preprocess_equals('', ) self:preprocess_equals('', ) self:preprocess_equals('', ) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', table.concat(', ')) self:preprocess_equals('', table.concat(', ')) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue..'.') self:preprocess_equals('', table.concat('; ')) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', [1]) self:preprocess_equals('', [1]) self:preprocess_equals('', [1]) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', [1]) self:preprocess_equals('', [1]) self:preprocess_equals('', table.concat(', ')) self:preprocess_equals('', table.concat(', ')) self:preprocess_equals('', table.concat(', ')) self:preprocess_equals('', 'Beatrix of the Netherlands (1980-04-30 – 30 April 2013)') self:preprocess_equals('', [1]) self:preprocess_equals('', [1]) self:preprocess_equals('', [1]) self:preprocess_equals('', wdib.getQualifierValue) self:preprocess_equals('', wdib.getValueByQual) self:preprocess_equals('', 'Dutch guilder') self:preprocess_equals('', 'Q788472') self:preprocess_equals('', 'Q788472') self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib.getValueByQual or ) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', [1]) self:preprocess_equals('', '%1', 1)})[1], '^.', string.upper, 1)})[1] .. '') self:preprocess_equals('', 'Q25250') self:preprocess_equals('', [1]) self:preprocess_equals('', '.. (', '_')})[1] .. '_globe:earth ' .. [1] .. ']') self:preprocess_equals('', [1]) self:preprocess_equals('', [1]) self:preprocess_equals('', '' .. wdib._getValue .. '') self:preprocess_equals('', wdib._getValue) self:preprocess_equals('', 'Statenvlag.svg') self:preprocess_equals('', 'Prinsenvlag.svg') self:preprocess_equals('', '\\frac = \\frac N \\alpha') self:preprocess_equals('', '' .. mw.getCurrentFrame:callParserFunction .. '') self:preprocess_equals('', wdib.getLabel) self:preprocess_equals('', [1]) self:preprocess_equals('', wdib.getLabel) self:preprocess_equals('', '' .. wdib.getLabel .. '') self:preprocess_equals('', wdib.getLabel) self:preprocess_equals('', (