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.
If you do not want cheaters, you have to make it more challenging. ;)
thanks for the feedback :)
assert.deepEqual
, which is necessary for comparing arrays, is sufficient for comparing primitive values.I was too lazy to tailor tests to expected values to the extent of having
assert.equal
for primitives and.deepEqual
for lists. Writing them was enough$EXPLETIVE
work already. ( The tests are bigger than most, probably even any, solutions. )Sorry for the confusion.
Thx, just word "deeply" confused me)
It means you returned
4
while instead the correct answer was3
.expected 4 to deeply equal 3
What does it mean? In basic tests
Good tests... This kata is not for the algs, but for testing
What lvl of algs is needed to get this?)
Mb forgot <=?
When you hate regexp :D