Module:siwa-noun/testcases: Difference between revisions

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
return tests:equals(
return tests:equals(
term,
term,
m_noun.make_cases(),
m_noun.make_cases(term),
expected,
expected,
{ show_difference = true }
{ show_difference = true }
Line 12: Line 12:


function tests:test_example()
function tests:test_example()
local list= {
local list = {
"sivi",
{"sivi", "g"}
[=[
  | [[Contionary:sivi]]
  | [[Contionary:sỉd]]
  | [[Contionary:sỉdia]]
  | [[Contionary:sỉhta]]
  | [[Contionary:sỉhka]]
  | [[Contionary:sỉhma]]
  | [[Contionary:sỉbma]], [[Contionary:sỉddįibma]]
  | [[Contionary:sỉska]], [[Contionary:sỉddįiska]]
]=]
}
}
self:iterate(list,"check_output")
self:iterate(list,"check_output")