tracks/java/exercises/transpose/src/test/java/TransposeTest.java in trackler-2.1.0.53 vs tracks/java/exercises/transpose/src/test/java/TransposeTest.java in trackler-2.1.0.54
- old
+ new
@@ -19,34 +19,34 @@
String expected = "";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void twoCharsInARow() {
String input = "A1";
String expected = "A" +
"\n1";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void twoCharsInAColumn() {
String input = "A\n" +
"1";
String expected = "A1";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void simpleMatrix() {
String input = "ABC\n" +
"123";
String expected = "A1\n" +
@@ -54,12 +54,12 @@
"C3";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void singleLine() {
String input = "Single line.";
String expected = "S\n" +
"i\n" +
@@ -75,12 +75,12 @@
".";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void firstLineLongerThanSecond() {
String input = "The fourth line.\n" +
"The fifth line.";
String expected = "TT\n" +
@@ -101,12 +101,12 @@
".";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void secondLineLongerThanFirst() {
String input = "The first line.\n" +
"The second line.";
String expected = "TT\n" +
@@ -127,12 +127,12 @@
" .";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void square() {
String input = "HEART\n" +
"EMBER\n" +
"ABUSE\n" +
"RESIN\n" +
@@ -145,12 +145,12 @@
"TREND";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void rectangle() {
String input = "FRACTURE\n" +
"OUTLINED\n" +
"BLOOMING\n" +
"SEPTETTE";
@@ -165,12 +165,12 @@
"EDGE";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void triangle() {
String input = "T\n" +
"EE\n" +
"AAA\n" +
"SSSS\n" +
@@ -185,12 +185,12 @@
" R";
assertEquals(expected, transpose.transpose(input));
}
- @Test
@Ignore("Remove to run test")
+ @Test
public void manyLines() {
String input = "Chor. Two households, both alike in dignity,\n" +
"In fair Verona, where we lay our scene,\n" +
"From ancient grudge break to new mutiny,\n" +
"Where civil blood makes civil hands unclean.\n" +
@@ -259,6 +259,6 @@
" e .\n" +
" ,";
assertEquals(expected, transpose.transpose(input));
}
-}
\ No newline at end of file
+}