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.
Rust translation
Unexpectedly light kata as for 6 kyu
Random test generator updated.
Probability of valid values: 79-80%
Interesting...
Interesting...
I have only print(v) in my code (Python) and after running full tests I've got:
Passed: 161 Failed: 51 Exit Code: 1
:D :D :D
So 152 test cases are for "Non-existant values" and only 48 for valid "start point".
Many reruns of testing those tests returns similar proportion for passed and failed tests.
Is it ok? I don't think so.
I can imagine, in rare case, that all random test will have "Non-existant values" and then you need to hardcode 9 cases from
"Fixed Test" and voile, you're done.
I'm marking this comment as sugestion to fix those random test.
very very easy kata for 6 kyu.
Updated python translation
I would argue against doing so as it promotes boolean blindness. Also, nowhere in the domain of the problem does it contain an operation in which two directions are tested for equality.
This comment is hidden because it contains spoiler information about the solution
Although possible to solve without it, it may be best to change the ADT in the Kata from
to
Yeah. Highest scoring word of "" is not "" because empty string is not a word.
This comment is hidden because it contains spoiler information about the solution
At least in the Haskell version, I suggest having (visible, non-solution) test cases that verify the "wrap around" behavior.
I added these to my own tests when working this kata:
What happened to that?
Loading more items...