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.
The parameter order of assertEquals is wrong. The first parameter should be the expected one not the second parameter.
Duplicate ;-)
fix code style to java style instead of c (in java style curved brackets in same line as code block declaration)
add null checking case for tests (if null passed should return empty string)
remove oop tag from this kata because it is about simple string manipulations, not oop
Add more test cases incl random test cases.
The test class should be public. the top import was wrong.
Provided test cases don't compile.
Test case syntax errors.
Missing closing braces in initial solution code.
import org.Junit.Test - must be org.junit.Test
Testing class must be public
Add closing brackets to the initial solution.
JAVA:
The test case class has incorrect code(compile error)!
replace thetestcase with this code:
import static org.junit.Assert.*;
import org.junit.Test;
public class RobotTest {
}
I don't even know where to start with this one...
Issues
Missing braces in the setup.
Method reverse(String) is static but accessed in a non static way
Given tests simply don't work.
Add more final tests including random ones
Solutions
The Test cases were giving weird errors. I submitted and it was rigth.
issue is pretty easy, main thing - make tests works
Loading more items...