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
I have a small suggestion to make the kata's Test and Attempts failed test results a bit more clear.
Instead of printing "Nope!", I would suggest to print a message giving a hint about the method name and the passed arguments of each test.
E.g.:
Let's imagine that the the second test of Test failed.
Current test and failure message:
Suggested test/failure message:
Thanks for your prompt answer.
I will follow the guidelines and ask a question about this kata, if it still make sense to ask it after my code recheck.
[EDIT] it was definitely my code, sorry for this and thanks again for your support.
The "Attempt" tests don't seem to work from
Test.expect(lt.get_points("Liverpool") == 1, "Nope!")
My code seems to work okay for the full test scenario (I called each method manually and checked the result), but I don't pass the above test, frustating :P
Can you recheck your test and correct if necessary?
Above test error message:
And below my test results for each method:
It looks like the random test expected results are not
sorted in ascending order of values
in the Ruby version.Here is a test log I got:
Can we correct them?