Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Prolog translation
Prolog translation
Prolog translation
thanks !
Approved :-)
All good. Approved. Thanks!
Prolog translation
Approved.
I've added assertion messages to sample and fixed tests. Thanks!
assert.are.same
andassert.are.equal
are equivalent for non-table values so I think there's no need to change.No idea how I missed that one. I've added it now.
The fixed text with input of
"banana"
seems missing.Prolog translation
Prolog translation, language agnostic description fixes issue below.
Prolog translation
Missing assertion messages on sample and fixed tests, i.e.
assert.are.same(1, get_sum(0, 1))
toassert.are.equal(1, get_sum(0, 1), "get_sum(0, 1)")
, etc. The third parameter of assertions will be printed only on failing tests, if you use this for the random tests too, you can display the arguments only when it's useful instead of creating a separateit
block for each test, which are also shown for passing tests.assert.are.same
should beassert.are.equal
,equal
is strict equality,same
is deep equality.Loading more items...