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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Ah, I hope that I've patched every hole (for now). Added some fixed tests, added some random eval tests, changed basic tests so bruteforce method wouldn't pass
This comment is hidden because it contains spoiler information about the solution
With this example I wanted to point out that "(3) + (4) + 5" is also a valid solution, but yea it's probably pointless to include something trivial in desciption. I deleted this example. Btw sorry for inconvenience, it's my first kata :/.
fixed
Tesing
expected == actual
is equal toTrue
is no different from usingtest.expect(expected == actual)
, which is unacceptable as test feedback because they provide no useful information.expected
andactual
should be displayed as original values.??? This example doesn't make any sense. Why is a single number wrapped with parentheses? It's really confusing.
Alternatively, why not just specify it as at most 2 parentheses?