English is not my native language. Please, tell me what the phrase "solve this kata without grindin letters" in the "Instructions" mean?
Am I missing something?
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() {
In python initial solution should have 4-space indentation and no final
;
.woops... x) (not native either... I guess it's already unraveled... XD )
it means look for a pattern or a loop you can use to test the letters. Do not go through every single letter and test it individually.
it means "don't hard code everything" (I guess...)
English is not my native language. Please, tell me what the phrase "solve this kata without grindin letters" in the "Instructions" mean?
Am I missing something?
add a pic,sloved!
Decode braille
https://www.pharmabraille.com/pharmaceutical-braille/the-braille-alphabet/
There are no random tests in JS version.
Provided link is broken so there's no way to decipher braille anymore.
Need random test in C++
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
}
Thanks! I thought it was my fault
In C++ the sample test returned an error with 0 test passed, while the full test were ok
Switched their places
For
Java
theassertEquals
args are back-to-front for all test cases.Loading more items...