Pārlūkot izejas kodu

Merge pull request #487 from morrme/igdiamond

diamond: add hint to @Ignore annotations
FridaTveit 9 gadus atpakaļ
vecāks
revīzija
1b7b8bf789

+ 4
- 4
exercises/diamond/src/test/java/DiamondPrinterTest.java Parādīt failu

23
         assertThat(output, is(singletonList("A")));
23
         assertThat(output, is(singletonList("A")));
24
     }
24
     }
25
 
25
 
26
-    @Ignore
26
+    @Ignore("Remove to run test")
27
     @Test
27
     @Test
28
     public void testTwoByTwoDiamond() {
28
     public void testTwoByTwoDiamond() {
29
         List<String> output = diamondPrinter.printToList('B');
29
         List<String> output = diamondPrinter.printToList('B');
32
                                      " A ")));
32
                                      " A ")));
33
     }
33
     }
34
 
34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36
     @Test
36
     @Test
37
     public void testThreeByThreeDiamond() {
37
     public void testThreeByThreeDiamond() {
38
         List<String> output = diamondPrinter.printToList('C');
38
         List<String> output = diamondPrinter.printToList('C');
43
                                      "  A  ")));
43
                                      "  A  ")));
44
     }
44
     }
45
 
45
 
46
-    @Ignore
46
+    @Ignore("Remove to run test")
47
     @Test
47
     @Test
48
     public void testFiveByFiveDiamond() {
48
     public void testFiveByFiveDiamond() {
49
         List<String> output = diamondPrinter.printToList('E');
49
         List<String> output = diamondPrinter.printToList('E');
58
                                      "    A    ")));
58
                                      "    A    ")));
59
     }
59
     }
60
 
60
 
61
-    @Ignore
61
+    @Ignore("Remove to run test")
62
     @Test
62
     @Test
63
     public void testFullDiamond() {
63
     public void testFullDiamond() {
64
         List<String> output = diamondPrinter.printToList('Z');
64
         List<String> output = diamondPrinter.printToList('Z');