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
Hello, I'm stuck on the solution of this Kata.
Basically I've solved, just I don't understand what kind of error this Kata expects from:
I used // throw new Error(""); but it seems to not be the solution expected by the author so any tips/ suggestion would be helpful
cheers
In JS solution :
Test case does not meet description : speedError(8,2,[[5,1.82 ],[5,0.48]])
Value 8 is bigger then ~5.
Making radar position not perpendicular to road.
Tested some aprooved solutions and this breaks pythagorean calculations.
Math.sqrt(55 - 88) => NaN.
I liked this kata but need some improvements.
Testing functions should not be put in Preloaded. They belong in the actual tests.
Node 8+ should be enabled.
The description is really unclear. I read the description many times and still has no idea what you meant by
Or what that point is. You really need to put up a diagram or something.
Sample test:
The second test does not actually test what is intended to be tested because it's shadowed by the condition in the first test (there's a
-30
here).Hi danmarcus. Check this test:
Is it possible that the reading of the distance from the radar gun to the car be less than the cop from the road?