Module:ru-noun/testcases

Hello, you have come here looking for the meaning of the word Module:ru-noun/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:ru-noun/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:ru-noun/testcases in singular and plural. Everything you need to know about the word Module:ru-noun/testcases you have here. The definition of the word Module:ru-noun/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:ru-noun/testcases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

1 of 0 tests failed. (refresh)

TextExpectedActual
tests_main:
Script error during testing: Module:ru-noun:536: attempt to call method 'getParent' (a nil value)
stack traceback:
	: in function 'getParent'
	Module:ru-noun:536: in function 'clone_args'
	Module:ru-noun:2169: in function 'generate_forms'
	Module:ru-noun/testcases:17: in function <Module:ru-noun/testcases:4>
	(tail call): ?
	: in function 'xpcall'
	Module:UnitTests:369: in function <Module:UnitTests:328>
	(tail call): ?
	mw.lua:527: in function <mw.lua:507>
	: ?
	: in function 'expandTemplate'
	mw.lua:333: in function 'expandTemplate'
	Module:documentation:894: in function 'chunk'
	mw.lua:527: in function <mw.lua:507>
	: ?

local tests = require('Module:UnitTests')
local data_module = require('Module:ru-noun')

function tests:tests_main()
	local testcases = {
		 = { 
                'пе́чь', 'пе́чи',
				'пе́чи', 'пече́й',
				'пе́чи', 'печа́м',
				'пе́чь', 'пе́чи',
				'пе́чью', 'печа́ми',
				'пе́чи', 'печа́х',
				'печи́', ''
			}
		}
    
    local inflected = data_module.generate_forms({"печь"})
	for k,v in pairs(inflected) do
		self:equals(v, testcases, v)
	end
	
end

return tests