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.
best answer!!!!!
i can't wake up
Fixed in this fork
There is a typo in "RecieveDamage".
You made my day)
Cool and tricky
LOL
Added some time ago
No longer an issue.
Thank you for reviewing that.
There is no point in forking a translation just to update the original solution (which would end up published in the original author's name anyway). Especially when there are other things that actually need fixing, e.g. missing assertion messages.
Rejected.
Dude
If there are test cases which always expect some specific answer consistently in the same invocation, it makes test cases suspectible to counting. Users can use a global variable to count invocations of their solution, and return
true
,false
, orNone
or some other predictable result for every expected n-th invocation.This problem might not be especially relevant for some kata, the most affected kata are the ones which expect
bool
as an answer, but the general practice is that for random tests, the expected results (and their order) should be unpredictable This can be achieved for example by generating a list of inputs for all tests, and then shuffling the list.How does having separate tests expecting
None
make it easy to cheat?Loading more items...