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.
Java fork
actual
andexpected
being flipped in sample testsprivate
python new test framework is required. updated in this fork
Test error feedback is unacceptable. It should at least tell where exactly is wrong.
Sample tests are broken.
Ruby should be updated to new test framework
The CS version generates
n
in floating point numbers which is irrelevant to the task !!! This makes a correct solution unable to pass the random tests ~~This comment is hidden because it contains spoiler information about the solution
In python initial solution should have 4-space indentation and no final
;
.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Dectector
Palindromization - Java 1.8.0_91(Java 8)
I have problem with the exercise. When I run the sample test without modifying the code I get following error message.
STDERR:
/workspace/java/src/KataTests.java:28: error: class, interface, or enum expected
}
^
1 error
I noticed that there is addition closing curly brace (}) with no opening brace.
Default code
public class Kata {
public static String palindromization(String elements, int n) {
return elements;
}
}
Sample Test
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import org.junit.runners.JUnit4;
public class KataTests {
@Test
public void Error_Cases() {
} // No opening curly brace
}