No random tests...solutions like this (https://www.codewars.com/kata/reviews/556c1252dd6f2b12be0000ab/groups/617003634d1f740001283aed) should not be allowed to pass
No sample tests in JS
assert.deepEqual should be used
Node 12. should be enabled
Ruby 3.0 should be enabled.
No random tests.
What does it mean by "Must reject an unknown player: True should equal False"
Do the playeres have to be sequential from "A" to "Z" or is there characters other than alpha tested for and those should be rejected?
You should increase the test cases.otherwise nice kata :)
The rounding issue below still exists in the random tests.
This comment is hidden because it contains spoiler information about the solution
Can the array be a tuple or a list of tuples as well, or can we assume it is a list? I don't know what I am missing. My code seems to work offline for all lists, but then there must be hidden cases.
To add....I only see three test cases. Is this as intended? Some of the discussions I am seeing mention a higher number of test cases.
I too am seeing the '04:25:00' vs '04:24:59' issue, which is not good because I'll have to find out how to introduce rounding error to make it pass. I think there should be some tolerance any time we do floating point calculations because the order in which we do the math can affect the result.
Maybe avoid decimal numbers as angles: sources of errors in roundings.
Are there any errors in the test cases? I'm getting a failure on the one for 180 degrees, and as far as I can tell (with the other test cases and other websites) my code is working correctly.
Also, could the test cases be updated to show the expected output when failed?