Is the food value that is given as an argument messured in Kilograms? If it is it should probably be put in the description, but it can be implied that it is.
The Java random test is not returning the corrrect result, as an example my warrior was level 1 with 180 exp fighting a level 8, and expected An intense fight, 8-1 >= 5, should return you've been defeated.
VERRY minor issue, in the java version in this kata, the List class is not imported, and as such gives an error, can be solved by adding:
import java.util.List;
tester("pneumonoultramicroscopicsilicovolcanoconiosis", "sisoinoconaclovociliscipocsorcimartluonomuenp");
Is every integer included in the test cases unique? If it is, it should probably be put in the description.
Is the food value that is given as an argument messured in Kilograms? If it is it should probably be put in the description, but it can be implied that it is.
Without the complete set of actions, this cannot be considered an issue. You probably have an error in the earlier steps with the same instance.
The Java random test is not returning the corrrect result, as an example my warrior was level 1 with 180 exp fighting a level 8, and expected An intense fight, 8-1 >= 5, should return you've been defeated.
VERRY minor issue, in the java version in this kata, the List class is not imported, and as such gives an error, can be solved by adding:
import java.util.List;
Personal not a fan of using std. It shows more intent, and you avoid bugs with name collisions
Huh, didn't know string builder constructor had a parameter.
.002 milisecond time save lol.
Ok I see the issue thank you!
Your solution has a bug, it returns wrong answer for this array:
[1, 1, 1, 2]
.It is not a kata issue.
This comment is hidden because it contains spoiler information about the solution
I cannot check your issue and fix the kata without knowing your failing code, sorry.
Java: attempt, test 2, might have more than 1 unique numbers, expecting <7.0> was <8.0>, not sure though, code works for all other tests
._. Oh my, oh no, HOW LONG DID THIS TAKE????
Loading more items...