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
This comment is hidden because it contains spoiler information about the solution
Java. This issue is widely discussed below. "0=0" solution with no spaces is inconsistent at all with the other solutions.
Java: should be
public static int sumOfAngles(int n)
expected:<0[=]0> but was:<0[ = ]0>
- please decide which kind of equals sign you are using in this kata - with or without spaces around it. Spaces are present in testBasic, for example, but absent in "0=0"Yes, my mistake. Thank you!
Anyhow, the kata seems to be long forgotten by its creator, I just saw dinglemouse's comment at the very bottom of the discourse.
Tests are incorrect.
Missing getter for attribute state expected:<[on]> but was:<[Red]>
Your testGetState(LampTest) retrives color instead of state
This comment is hidden because it contains spoiler information about the solution
This sample test is not correct. Should either be assertFalse or (6, 21)
It seems to me that the correct answer for 111187777317L should be 78621631327L. It's less than 129858761425L, which is expected.
(78621631327.00) / (111187777317.00) * ((78621631327.00 - 1.00) / (111187777317.00 - 1.00)) = 0.5
Otherwise, I don't understand the description and the rules of this kata.
randomTest is buggy, it never reaches the inner for loop, always producing 0.
This line
Should be replaced with
Oh yes, I've forgotten about spaces! Regex to check against is corrected.
I would expect "<>[]:,;@"!#$%&*+-/=?^_{}| ~.a"@example.org" to produce a false result. A bit confusing.
This comment is hidden because it contains spoiler information about the solution
Loading more items...