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.
I like this solution! :D like mine... but mine definetly uglier
Thanks for a such good Kata! I decided to make some Katas with guitar theme too. It's a nice new idea to make some Katas :)
Would be a good intermediate exercise in dealing with arrays and strings, but the addition of B# and E# was just plain annoying. Do you really need them, they're a special case that isn't mentioned in the description.
Fun ! Rated 6kyu
It will even throw an error if not an array. @_@
Fixed
In the description I mention this, in the 'Notes' section. First team alphabetically comes first.
JS random tests is using
assert.equal
, which is not what should be used (should beTest.assertEquals
).You have this test:
Both teams have the same points and played the same amount of games. Then who should be the "leading" team (i.e the one comes first in the returned string)?
Resolved
Thanks!
Basically you generate random arguments, pass them to the user's solution and a solution of your own and compare the results.
How can I generate random tests?
Because this.
There are only 13 possible return values, so the kata is not interesting in the first place.
Not even random tests will help you there.
Loading more items...