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.
Not an issue
Shows Runtime error at TESTZERO. :/ Using Java
I seem to be passing all the tests but I'm getting a no method error;
comp': undefined method
each' for nil:NilClass (NoMethodError)from
block in ' from
block in describe'from
measure' from
describe'from `
'
Your help will be highly appreciated.
@g964: Consider voting for this issue. Regards, suic
Yes this fact is known since very long ago. Unfortunately 944 guys passed the Java kata and when more than 500 guys passed a kata in a given language it is not authorized to change the tests. I am very sorry for that inconvenience.
Not sure how anyone is passing this. There's either an error in the instructions or in the tests.
As posted below: "Test #3 of testBasics in PHP fails (result is false, but expected is true), which is because of $a2 having 36100 in it, but $a1 has no 190."
This absolutely occurs. Another comment indicates that the arrays have to be of equal length, which would not make the above true. Yet another comment states that each number of A1 must have a matching square in A2, which if true, is not mentioned in the instructions.
I hate shit like this. You guys spend so much effort trying to come up with the most elaborate, confusing problems, that you can't even keep straight what you're trying to accomplish.
I am getting a server error/timeout when I try to submit my working solution. Is that an indicator that I need to refactor or is it something internal to the site?
In JAVA asserts arguments are swapped. Now is:
assertEquals(AreSame.comp(a, b), true); // wrong arguments order
First argument should be expected value and the second should be received from method. It should looks like this:
assertEquals(true, AreSame.comp(a, b)); // right arguments order
Result of assertion is:
"expected: (first arg) but was: (second arg)"
and might be confusing when arguments are swapped.
Print the input.
Every test is passed but test8 fails. what is the reason? Can you please give me the test case so I can check? (Java)