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.
Problem is with user code, not the kata, then. Closing.
The C random tests indeed include negative radii, this should be fixed, or the description should be changed.
juraj.fabo, you are right, this is not correct.
This comment is hidden because it contains spoiler information about the solution
Try using the absolute value of the radius. Mathematically, a negative radius would correspond to every angle theta resulting in (-r * cos(theta), -r * sin(theta)). As a circle is perfectly round, the shape is constant: a circle of radius r is the same as a circle of radius -r.
The test cases for C# do include negative radii, which is why my solution fails.
The test cases shouldn't include negative radii, as I agree they don't make much sense. Which language are you attempting the kata in? One of the language translations might be flawed.
This comment is hidden because it contains spoiler information about the solution