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
Yes, my first attempt relied on Math.Round(x, MidpointRounding.AwayFromZero), that is absolutely correct mathematically. I am always upset when I have to adjust the right solution to the wrong tests.
This comment is hidden because it contains spoiler information about the solution
In c#, example tests still no doTest ;-)
Put it to preload block?
The example tests in C# are full of problems. There is no method "doTest" and in the example tests the method problem is expeceted to have a capital P.
The real tests work without any problem.
Approved
Agreed, but you are free to use whatever variable names you want - just edit the initial solution :D
I agree with you, but warriors who solved the kata without abiding to the constraints voted for level 7. I wish I had a way of disqualifying solutions that do not obey the rules. Instead I have relied on people's sense of honor. Good for you for solving it while obeying the rules!