Просмотр исходного кода

Merge remote-tracking branch 'refs/remotes/exercism/master'

Logan Stucki 9 лет назад
Родитель
Сommit
c65693b74a
40 измененных файлов: 476 добавлений и 476 удалений
  1. 2
    2
      exercises/binary-search-tree/src/test/java/BSTTest.java
  2. 8
    8
      exercises/change/src/test/java/ChangeCalculatorTest.java
  3. 16
    16
      exercises/clock/src/test/java/ClockAddTest.java
  4. 18
    18
      exercises/clock/src/test/java/ClockCreationTest.java
  5. 15
    15
      exercises/clock/src/test/java/ClockEqualTest.java
  6. 36
    36
      exercises/custom-set/src/test/java/CustomSetTest.java
  7. 4
    4
      exercises/diamond/src/test/java/DiamondPrinterTest.java
  8. 3
    3
      exercises/etl/src/test/java/EtlTest.java
  9. 5
    5
      exercises/flatten-array/src/test/java/FlattenerTest.java
  10. 7
    7
      exercises/grade-school/src/test/java/SchoolTest.java
  11. 8
    8
      exercises/hamming/src/test/java/HammingTest.java
  12. 9
    9
      exercises/isogram/src/test/java/IsogramCheckerTest.java
  13. 17
    17
      exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java
  14. 4
    4
      exercises/linked-list/src/test/java/DoublyLinkedListTest.java
  15. 19
    19
      exercises/list-ops/src/test/java/ListOpsTest.java
  16. 12
    12
      exercises/luhn/src/test/java/LuhnValidatorTest.java
  17. 5
    5
      exercises/matrix/src/test/java/MatrixTest.java
  18. 90
    90
      exercises/meetup/src/test/java/MeetupTest.java
  19. 14
    14
      exercises/minesweeper/src/test/java/MinesweeperBoardTest.java
  20. 4
    4
      exercises/nth-prime/src/test/java/PrimeCalculatorTest.java
  21. 8
    8
      exercises/nucleotide-count/src/test/java/NucleotideTest.java
  22. 4
    4
      exercises/palindrome-products/src/test/java/PalindromeCalculatorTest.java
  23. 5
    5
      exercises/pascals-triangle/src/test/java/PascalsTriangleGeneratorTest.java
  24. 9
    9
      exercises/phone-number/src/test/java/PhoneNumberTest.java
  25. 6
    6
      exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java
  26. 12
    12
      exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java
  27. 11
    11
      exercises/rectangles/src/test/java/RectangleCounterTest.java
  28. 2
    2
      exercises/robot-name/src/test/java/RobotTest.java
  29. 19
    19
      exercises/robot-simulator/src/test/java/RobotTest.java
  30. 10
    10
      exercises/series/src/test/java/SeriesTest.java
  31. 2
    2
      exercises/sieve/src/test/java/SieveTest.java
  32. 2
    2
      exercises/simple-cipher/src/test/java/SimpleCipherStepOneTest.java
  33. 7
    7
      exercises/simple-cipher/src/test/java/SimpleCipherStepThreeTest.java
  34. 9
    9
      exercises/simple-cipher/src/test/java/SimpleCipherStepTwoTest.java
  35. 16
    16
      exercises/sublist/src/test/java/RelationshipComputerTest.java
  36. 11
    11
      exercises/sum-of-multiples/src/test/java/SumOfMultiplesTest.java
  37. 14
    14
      exercises/triangle/src/test/java/TriangleTest.java
  38. 13
    13
      exercises/twelve-days/src/test/java/TwelveDaysTest.java
  39. 5
    5
      exercises/word-count/src/test/java/WordCountTest.java
  40. 15
    15
      exercises/wordy/src/test/java/WordProblemSolverTest.java

+ 2
- 2
exercises/binary-search-tree/src/test/java/BSTTest.java Просмотреть файл

@@ -94,7 +94,7 @@ public class BSTTest {
94 94
         List<Integer> treeData = Collections.unmodifiableList(
95 95
                 Arrays.asList(4, 2, 6, 1, 3, 7, 5)
96 96
         );
97
-        treeData.forEach(value -> sut.insert(value));
97
+        treeData.forEach(sut::insert);
98 98
 
99 99
         List<Integer> actual = sut.getAsLevelOrderList();
100 100
         assertEquals(expected, actual);
@@ -155,7 +155,7 @@ public class BSTTest {
155 155
         List<Integer> treeData = Collections.unmodifiableList(
156 156
                 Arrays.asList(4, 2, 1, 3, 6, 7, 5)
157 157
         );
158
-        treeData.forEach(value -> sut.insert(value));
158
+        treeData.forEach(sut::insert);
159 159
 
160 160
         List<Integer> actual = sut.getAsSortedList();
161 161
         assertEquals(expected, actual);

+ 8
- 8
exercises/change/src/test/java/ChangeCalculatorTest.java Просмотреть файл

@@ -26,7 +26,7 @@ public final class ChangeCalculatorTest {
26 26
                 changeCalculator.computeMostEfficientChange(25));
27 27
     }
28 28
 
29
-    @Ignore
29
+    @Ignore("Remove to run test")
30 30
     @Test
31 31
     public void testChangeThatMustBeGivenInMultipleCoins() {
32 32
         ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 5, 10, 25, 100));
@@ -36,7 +36,7 @@ public final class ChangeCalculatorTest {
36 36
                 changeCalculator.computeMostEfficientChange(15));
37 37
     }
38 38
 
39
-    @Ignore
39
+    @Ignore("Remove to run test")
40 40
     @Test
41 41
     // https://en.wikipedia.org/wiki/Change-making_problem#Greedy_method
42 42
     public void testLilliputianCurrencyForWhichGreedyAlgorithmFails() {
@@ -47,7 +47,7 @@ public final class ChangeCalculatorTest {
47 47
                 changeCalculator.computeMostEfficientChange(23));
48 48
     }
49 49
 
50
-    @Ignore
50
+    @Ignore("Remove to run test")
51 51
     @Test
52 52
     // https://en.wikipedia.org/wiki/Change-making_problem#Greedy_method
53 53
     public void testLowerElbonianCurrencyForWhichGreedyAlgorithmFails() {
@@ -58,7 +58,7 @@ public final class ChangeCalculatorTest {
58 58
                 changeCalculator.computeMostEfficientChange(63));
59 59
     }
60 60
 
61
-    @Ignore
61
+    @Ignore("Remove to run test")
62 62
     @Test
63 63
     public void testLargeAmountOfChange() {
64 64
         ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 2, 5, 10, 20, 50, 100));
@@ -68,7 +68,7 @@ public final class ChangeCalculatorTest {
68 68
                 changeCalculator.computeMostEfficientChange(999));
69 69
     }
70 70
 
71
-    @Ignore
71
+    @Ignore("Remove to run test")
72 72
     @Test
73 73
     public void testZeroChange() {
74 74
         ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 5, 10, 21, 25));
@@ -78,7 +78,7 @@ public final class ChangeCalculatorTest {
78 78
                 changeCalculator.computeMostEfficientChange(0));
79 79
     }
80 80
 
81
-    @Ignore
81
+    @Ignore("Remove to run test")
82 82
     @Test
83 83
     public void testChangeLessThanSmallestCoinInCurrencyCannotBeRepresented() {
84 84
         ChangeCalculator changeCalculator = new ChangeCalculator(asList(5, 10));
@@ -89,7 +89,7 @@ public final class ChangeCalculatorTest {
89 89
         changeCalculator.computeMostEfficientChange(3);
90 90
     }
91 91
 
92
-    @Ignore
92
+    @Ignore("Remove to run test")
93 93
     @Test
94 94
     public void testChangeLargerThanAllCoinsInCurrencyThatCannotBeRepresented() {
95 95
         ChangeCalculator changeCalculator = new ChangeCalculator(asList(5, 10));
@@ -100,7 +100,7 @@ public final class ChangeCalculatorTest {
100 100
         changeCalculator.computeMostEfficientChange(94);
101 101
     }
102 102
 
103
-    @Ignore
103
+    @Ignore("Remove to run test")
104 104
     @Test
105 105
     public void testNegativeChangeIsRejected() {
106 106
         ChangeCalculator changeCalculator = new ChangeCalculator(asList(1, 2, 5));

+ 16
- 16
exercises/clock/src/test/java/ClockAddTest.java Просмотреть файл

@@ -5,7 +5,7 @@ import static org.junit.Assert.assertEquals;
5 5
 
6 6
 public class ClockAddTest {
7 7
 
8
-    @Ignore
8
+    @Ignore("Remove to run test")
9 9
     @Test
10 10
     public void addMinutes() {
11 11
         Clock clock = new Clock(10, 0);
@@ -13,7 +13,7 @@ public class ClockAddTest {
13 13
         assertEquals("10:03", clock.toString());
14 14
     }
15 15
 
16
-    @Ignore
16
+    @Ignore("Remove to run test")
17 17
     @Test
18 18
     public void addNoMinutes() {
19 19
         Clock clock = new Clock(6, 41);
@@ -21,7 +21,7 @@ public class ClockAddTest {
21 21
         assertEquals("06:41", clock.toString());
22 22
     }
23 23
 
24
-    @Ignore
24
+    @Ignore("Remove to run test")
25 25
     @Test
26 26
     public void addToNextHour() {
27 27
         Clock clock = new Clock(0, 45);
@@ -29,7 +29,7 @@ public class ClockAddTest {
29 29
         assertEquals("01:25", clock.toString());
30 30
     }
31 31
 
32
-    @Ignore
32
+    @Ignore("Remove to run test")
33 33
     @Test
34 34
     public void addMoreThanOneHour() {
35 35
         Clock clock = new Clock(10, 0);
@@ -37,7 +37,7 @@ public class ClockAddTest {
37 37
         assertEquals("11:01", clock.toString());
38 38
     }
39 39
 
40
-    @Ignore
40
+    @Ignore("Remove to run test")
41 41
     @Test
42 42
     public void addMoreThanTwoHoursWithCarry() {
43 43
         Clock clock = new Clock(0, 45);
@@ -45,7 +45,7 @@ public class ClockAddTest {
45 45
         assertEquals("03:25", clock.toString());
46 46
     }
47 47
 
48
-    @Ignore
48
+    @Ignore("Remove to run test")
49 49
     @Test
50 50
     public void addAcrossMidnight() {
51 51
         Clock clock = new Clock(23, 59);
@@ -53,7 +53,7 @@ public class ClockAddTest {
53 53
         assertEquals("00:01", clock.toString());
54 54
     }
55 55
 
56
-    @Ignore
56
+    @Ignore("Remove to run test")
57 57
     @Test
58 58
     public void addMoreThanOneDay() {
59 59
         Clock clock = new Clock(5, 32);
@@ -61,7 +61,7 @@ public class ClockAddTest {
61 61
         assertEquals("06:32", clock.toString());
62 62
     }
63 63
 
64
-    @Ignore
64
+    @Ignore("Remove to run test")
65 65
     @Test
66 66
     public void addMoreThanTwoDays() {
67 67
         Clock clock = new Clock(1, 1);
@@ -69,7 +69,7 @@ public class ClockAddTest {
69 69
         assertEquals("11:21", clock.toString());
70 70
     }
71 71
 
72
-    @Ignore
72
+    @Ignore("Remove to run test")
73 73
     @Test
74 74
     public void subtractMinutes() {
75 75
         Clock clock = new Clock(10, 3);
@@ -77,7 +77,7 @@ public class ClockAddTest {
77 77
         assertEquals("10:00", clock.toString());
78 78
     }
79 79
 
80
-    @Ignore
80
+    @Ignore("Remove to run test")
81 81
     @Test
82 82
     public void subtractToPreviousHour() {
83 83
         Clock clock = new Clock(10, 3);
@@ -85,7 +85,7 @@ public class ClockAddTest {
85 85
         assertEquals("09:33", clock.toString());
86 86
     }
87 87
 
88
-    @Ignore
88
+    @Ignore("Remove to run test")
89 89
     @Test
90 90
     public void subtractMoreThanAnHour() {
91 91
         Clock clock = new Clock(10, 3);
@@ -93,7 +93,7 @@ public class ClockAddTest {
93 93
         assertEquals("08:53", clock.toString());
94 94
     }
95 95
 
96
-    @Ignore
96
+    @Ignore("Remove to run test")
97 97
     @Test
98 98
     public void subtractAcrossMidnight() {
99 99
         Clock clock = new Clock(0, 3);
@@ -101,7 +101,7 @@ public class ClockAddTest {
101 101
         assertEquals("23:59", clock.toString());
102 102
     }
103 103
 
104
-    @Ignore
104
+    @Ignore("Remove to run test")
105 105
     @Test
106 106
     public void subtractMoreThanTwoHours() {
107 107
         Clock clock = new Clock(0, 0);
@@ -109,7 +109,7 @@ public class ClockAddTest {
109 109
         assertEquals("21:20", clock.toString());
110 110
     }
111 111
 
112
-    @Ignore
112
+    @Ignore("Remove to run test")
113 113
     @Test
114 114
     public void subtractMoreThanTwoHoursWithBorrow() {
115 115
         Clock clock = new Clock(6, 15);
@@ -117,7 +117,7 @@ public class ClockAddTest {
117 117
         assertEquals("03:35", clock.toString());
118 118
     }
119 119
 
120
-    @Ignore
120
+    @Ignore("Remove to run test")
121 121
     @Test
122 122
     public void subtractMoreThanOneDay() {
123 123
         Clock clock = new Clock(5, 32);
@@ -125,7 +125,7 @@ public class ClockAddTest {
125 125
         assertEquals("04:32", clock.toString());
126 126
     }
127 127
 
128
-    @Ignore
128
+    @Ignore("Remove to run test")
129 129
     @Test
130 130
     public void subtractMoreThanTwoDays() {
131 131
         Clock clock = new Clock(2, 20);

+ 18
- 18
exercises/clock/src/test/java/ClockCreationTest.java Просмотреть файл

@@ -10,109 +10,109 @@ public class ClockCreationTest {
10 10
         assertEquals("08:00", new Clock(8, 0).toString());
11 11
     }
12 12
 
13
-    @Ignore
13
+    @Ignore("Remove to run test")
14 14
     @Test
15 15
     public void canPrintTimeWithMinutes() {
16 16
         assertEquals("11:09", new Clock(11, 9).toString());
17 17
     }
18 18
 
19
-    @Ignore
19
+    @Ignore("Remove to run test")
20 20
     @Test
21 21
     public void midnightPrintsAsZero() {
22 22
         assertEquals("00:00", new Clock(24, 0).toString());
23 23
     }
24 24
 
25
-    @Ignore
25
+    @Ignore("Remove to run test")
26 26
     @Test
27 27
     public void hourRollsOver() {
28 28
         assertEquals("01:00", new Clock(25, 0).toString());
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void hourRollsOverContinuously() {
34 34
         assertEquals("04:00", new Clock(100, 0).toString());
35 35
     }
36 36
 
37
-    @Ignore
37
+    @Ignore("Remove to run test")
38 38
     @Test
39 39
     public void sixtyMinutesIsNextHour() {
40 40
         assertEquals("02:00", new Clock(1, 60).toString());
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void minutesRollOver() {
46 46
         assertEquals("02:40", new Clock(0, 160).toString());
47 47
     }
48 48
 
49
-    @Ignore
49
+    @Ignore("Remove to run test")
50 50
     @Test
51 51
     public void minutesRollOverContinuously() {
52 52
         assertEquals("04:43", new Clock(0, 1723).toString());
53 53
     }
54 54
 
55
-    @Ignore
55
+    @Ignore("Remove to run test")
56 56
     @Test
57 57
     public void hourAndMinutesRollOver() {
58 58
         assertEquals("03:40", new Clock(25, 160).toString());
59 59
     }
60 60
 
61
-    @Ignore
61
+    @Ignore("Remove to run test")
62 62
     @Test
63 63
     public void hourAndMinutesRollOverContinuously() {
64 64
         assertEquals("11:01", new Clock(201, 3001).toString());
65 65
     }
66 66
 
67
-    @Ignore
67
+    @Ignore("Remove to run test")
68 68
     @Test
69 69
     public void hourAndMinutesRollOverToExactlyMidnight() {
70 70
         assertEquals("00:00", new Clock(72, 8640).toString());
71 71
     }
72 72
 
73
-    @Ignore
73
+    @Ignore("Remove to run test")
74 74
     @Test
75 75
     public void negativeHour() {
76 76
         assertEquals("23:15", new Clock(-1, 15).toString());
77 77
     }
78 78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     @Test
81 81
     public void negativeHourRollsOver() {
82 82
         assertEquals("23:00", new Clock(-25, 0).toString());
83 83
     }
84 84
 
85
-    @Ignore
85
+    @Ignore("Remove to run test")
86 86
     @Test
87 87
     public void negativeHourRollsOverContinuously() {
88 88
         assertEquals("05:00", new Clock(-91, 0).toString());
89 89
     }
90 90
 
91
-    @Ignore
91
+    @Ignore("Remove to run test")
92 92
     @Test
93 93
     public void negativeMinutes() {
94 94
         assertEquals("00:20", new Clock(1, -40).toString());
95 95
     }
96 96
 
97
-    @Ignore
97
+    @Ignore("Remove to run test")
98 98
     @Test
99 99
     public void negativeMinutesRollOver() {
100 100
         assertEquals("22:20", new Clock(1, -160).toString());
101 101
     }
102 102
 
103
-    @Ignore
103
+    @Ignore("Remove to run test")
104 104
     @Test
105 105
     public void negativeMinutesRollOverContinuously() {
106 106
         assertEquals("16:40", new Clock(1, -4820).toString());
107 107
     }
108 108
 
109
-    @Ignore
109
+    @Ignore("Remove to run test")
110 110
     @Test
111 111
     public void negativeHourAndMinutesBothRollOver() {
112 112
         assertEquals("20:20", new Clock(-25, -160).toString());
113 113
     }
114 114
 
115
-    @Ignore
115
+    @Ignore("Remove to run test")
116 116
     @Test
117 117
     public void negativeHourAndMinutesBothRollOverContinuously() {
118 118
         assertEquals("22:10", new Clock(-121, -5810).toString());

+ 15
- 15
exercises/clock/src/test/java/ClockEqualTest.java Просмотреть файл

@@ -6,91 +6,91 @@ import static org.junit.Assert.assertTrue;
6 6
 
7 7
 public class ClockEqualTest {
8 8
 
9
-    @Ignore
9
+    @Ignore("Remove to run test")
10 10
     @Test
11 11
     public void clocksWithSameTimeAreEqual() {
12 12
         assertTrue(new Clock(15, 37).equals(new Clock(15, 37)));
13 13
     }
14 14
 
15
-    @Ignore
15
+    @Ignore("Remove to run test")
16 16
     @Test
17 17
     public void clocksAMinuteApartAreNotEqual() {
18 18
         assertFalse(new Clock(15, 36).equals(new Clock(15, 37)));
19 19
     }
20 20
 
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     @Test
23 23
     public void clocksAnHourApartAreNotEqual() {
24 24
         assertFalse(new Clock(14, 37).equals(new Clock(15, 37)));
25 25
     }
26 26
 
27
-    @Ignore
27
+    @Ignore("Remove to run test")
28 28
     @Test
29 29
     public void clocksWithHourOverflow() {
30 30
         assertTrue(new Clock(10, 37).equals(new Clock(34, 37)));
31 31
     }
32 32
 
33
-    @Ignore
33
+    @Ignore("Remove to run test")
34 34
     @Test
35 35
     public void clocksWithHourOverflowBySeveralDays() {
36 36
         assertTrue(new Clock(3, 11).equals(new Clock(99, 11)));
37 37
     }
38 38
 
39
-    @Ignore
39
+    @Ignore("Remove to run test")
40 40
     @Test
41 41
     public void clocksWithNegateHour() {
42 42
         assertTrue(new Clock(22, 40).equals(new Clock(-2, 40)));
43 43
     }
44 44
 
45
-    @Ignore
45
+    @Ignore("Remove to run test")
46 46
     @Test
47 47
     public void clocksWithNegativeHourThatWraps() {
48 48
         assertTrue(new Clock(17, 3).equals(new Clock(-31, 3)));
49 49
     }
50 50
 
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     @Test
53 53
     public void clocksWithNegativeHourThatWrapsMultipleTimes() {
54 54
         assertTrue(new Clock(13, 49).equals(new Clock(-83, 49)));
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void clocksWithMinuteOverflow() {
60 60
         assertTrue(new Clock(0, 1).equals(new Clock(0, 1441)));
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void clocksWithMinuteOverflowBySeveralDays() {
66 66
         assertTrue(new Clock(2, 2).equals(new Clock(2, 4322)));
67 67
     }
68 68
 
69
-    @Ignore
69
+    @Ignore("Remove to run test")
70 70
     @Test
71 71
     public void clocksWithNegativeMinutes() {
72 72
         assertTrue(new Clock(2, 40).equals(new Clock(3, -20)));
73 73
     }
74 74
 
75
-    @Ignore
75
+    @Ignore("Remove to run test")
76 76
     @Test
77 77
     public void clocksWithNegativeMinutesThatWraps() {
78 78
         assertTrue(new Clock(4, 10).equals(new Clock(5, -1490)));
79 79
     }
80 80
 
81
-    @Ignore
81
+    @Ignore("Remove to run test")
82 82
     @Test
83 83
     public void clocksWithNegativeMinutesThatWrapsMultipleTimes() {
84 84
         assertTrue(new Clock(6, 15).equals(new Clock(6, -4305)));
85 85
     }
86 86
 
87
-    @Ignore
87
+    @Ignore("Remove to run test")
88 88
     @Test
89 89
     public void clocksWithNegativeHoursAndMinutes() {
90 90
         assertTrue(new Clock(7, 32).equals(new Clock(-12, -268)));
91 91
     }
92 92
 
93
-    @Ignore
93
+    @Ignore("Remove to run test")
94 94
     @Test
95 95
     public void clocksWithNegativeHoursAndMinutesThatWrap() {
96 96
         assertTrue(new Clock(18, 7).equals(new Clock(-54, -11513)));

+ 36
- 36
exercises/custom-set/src/test/java/CustomSetTest.java Просмотреть файл

@@ -18,7 +18,7 @@ public class CustomSetTest {
18 18
     }
19 19
 
20 20
     @Test
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     public void setsWithElementsAreNotEmpty() {
23 23
         final boolean actual
24 24
                 = new CustomSet<>(Arrays.asList(1))
@@ -28,7 +28,7 @@ public class CustomSetTest {
28 28
     }
29 29
 
30 30
     @Test
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     public void nothingIsContainedInAnEmptySet() {
33 33
         final boolean actual
34 34
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -38,7 +38,7 @@ public class CustomSetTest {
38 38
     }
39 39
 
40 40
     @Test
41
-    @Ignore
41
+    @Ignore("Remove to run test")
42 42
     public void whenTheElementIsInTheSet() {
43 43
         final boolean actual
44 44
                 = new CustomSet<>(Arrays.asList(1, 2, 3))
@@ -48,7 +48,7 @@ public class CustomSetTest {
48 48
     }
49 49
 
50 50
     @Test
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     public void whenTheElementIsNotInTheSet() {
53 53
         final boolean actual
54 54
                 = new CustomSet<>(Arrays.asList(1, 2, 3))
@@ -58,7 +58,7 @@ public class CustomSetTest {
58 58
     }
59 59
 
60 60
     @Test
61
-    @Ignore
61
+    @Ignore("Remove to run test")
62 62
     public void emptySetIsASubsetOfAnotherEmptySet() {
63 63
         final boolean actual
64 64
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -70,7 +70,7 @@ public class CustomSetTest {
70 70
     }
71 71
 
72 72
     @Test
73
-    @Ignore
73
+    @Ignore("Remove to run test")
74 74
     public void emptySetIsASubsetOfNonEemptySet() {
75 75
         final boolean actual
76 76
                 = new CustomSet<>(Arrays.asList(1))
@@ -82,7 +82,7 @@ public class CustomSetTest {
82 82
     }
83 83
 
84 84
     @Test
85
-    @Ignore
85
+    @Ignore("Remove to run test")
86 86
     public void nonEmptySetIsNotASubsetOfEmptySet() {
87 87
         final boolean actual
88 88
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -94,7 +94,7 @@ public class CustomSetTest {
94 94
     }
95 95
 
96 96
     @Test
97
-    @Ignore
97
+    @Ignore("Remove to run test")
98 98
     public void setIsASubsetOfSetWithExactSameElements() {
99 99
         final boolean actual
100 100
                 = new CustomSet<>(Arrays.asList(1, 2, 3))
@@ -106,7 +106,7 @@ public class CustomSetTest {
106 106
     }
107 107
 
108 108
     @Test
109
-    @Ignore
109
+    @Ignore("Remove to run test")
110 110
     public void setIsASubsetOfLargerSetWithSameElements() {
111 111
         final boolean actual
112 112
                 = new CustomSet<>(Arrays.asList(4, 1, 2, 3))
@@ -118,7 +118,7 @@ public class CustomSetTest {
118 118
     }
119 119
 
120 120
     @Test
121
-    @Ignore
121
+    @Ignore("Remove to run test")
122 122
     public void setIsNotASubsetOfSetThatDoesNotContainItsElements() {
123 123
         final boolean actual
124 124
                 = new CustomSet<>(Arrays.asList(4, 1, 3))
@@ -130,7 +130,7 @@ public class CustomSetTest {
130 130
     }
131 131
 
132 132
     @Test
133
-    @Ignore
133
+    @Ignore("Remove to run test")
134 134
     public void theEmptySetIsDisjointWithItself() {
135 135
         final boolean actual
136 136
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -142,7 +142,7 @@ public class CustomSetTest {
142 142
     }
143 143
 
144 144
     @Test
145
-    @Ignore
145
+    @Ignore("Remove to run test")
146 146
     public void emptySetIsDisjointWithNonEmptySet() {
147 147
         final boolean actual
148 148
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -154,7 +154,7 @@ public class CustomSetTest {
154 154
     }
155 155
 
156 156
     @Test
157
-    @Ignore
157
+    @Ignore("Remove to run test")
158 158
     public void nonEmptySetIsDisjointWithEmptySet() {
159 159
         final boolean actual
160 160
                 = new CustomSet<>(Arrays.asList(1))
@@ -166,7 +166,7 @@ public class CustomSetTest {
166 166
     }
167 167
 
168 168
     @Test
169
-    @Ignore
169
+    @Ignore("Remove to run test")
170 170
     public void setsAreNotDisjointIfTheyShareAnElement() {
171 171
         final boolean actual
172 172
                 = new CustomSet<>(Arrays.asList(1, 2))
@@ -178,7 +178,7 @@ public class CustomSetTest {
178 178
     }
179 179
 
180 180
     @Test
181
-    @Ignore
181
+    @Ignore("Remove to run test")
182 182
     public void setsAreDisjointIfTheyShareNoElements() {
183 183
         final boolean actual
184 184
                 = new CustomSet<>(Arrays.asList(1, 2))
@@ -190,7 +190,7 @@ public class CustomSetTest {
190 190
     }
191 191
 
192 192
     @Test
193
-    @Ignore
193
+    @Ignore("Remove to run test")
194 194
     public void emptySetsAreEqual() {
195 195
         final boolean actual
196 196
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -202,7 +202,7 @@ public class CustomSetTest {
202 202
     }
203 203
 
204 204
     @Test
205
-    @Ignore
205
+    @Ignore("Remove to run test")
206 206
     public void emptySetIsNotEqualToNonEmptySet() {
207 207
         final boolean actual
208 208
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -214,7 +214,7 @@ public class CustomSetTest {
214 214
     }
215 215
 
216 216
     @Test
217
-    @Ignore
217
+    @Ignore("Remove to run test")
218 218
     public void nonEmptySetIsNotEqualToEmptySet() {
219 219
         final boolean actual
220 220
                 = new CustomSet<>(Arrays.asList(1, 2, 3))
@@ -226,7 +226,7 @@ public class CustomSetTest {
226 226
     }
227 227
 
228 228
     @Test
229
-    @Ignore
229
+    @Ignore("Remove to run test")
230 230
     public void setsWithTheSameElementsAreEqual() {
231 231
         final boolean actual
232 232
                 = new CustomSet<>(Arrays.asList(1, 2))
@@ -238,7 +238,7 @@ public class CustomSetTest {
238 238
     }
239 239
 
240 240
     @Test
241
-    @Ignore
241
+    @Ignore("Remove to run test")
242 242
     public void setsWithDifferentElementsAreNotEqual() {
243 243
         final boolean actual
244 244
                 = new CustomSet<>(Arrays.asList(1, 2, 3))
@@ -250,7 +250,7 @@ public class CustomSetTest {
250 250
     }
251 251
 
252 252
     @Test
253
-    @Ignore
253
+    @Ignore("Remove to run test")
254 254
     public void addToEmptySet() {
255 255
         final int element = 3;
256 256
         final CustomSet<Integer> expected
@@ -268,7 +268,7 @@ public class CustomSetTest {
268 268
     }
269 269
 
270 270
     @Test
271
-    @Ignore
271
+    @Ignore("Remove to run test")
272 272
     public void addToNonEmptySet() {
273 273
         final int element = 3;
274 274
         final CustomSet<Integer> expected
@@ -286,7 +286,7 @@ public class CustomSetTest {
286 286
     }
287 287
 
288 288
     @Test
289
-    @Ignore
289
+    @Ignore("Remove to run test")
290 290
     public void addingAnExistingElementDoesNotChangeTheSet() {
291 291
         final int element = 3;
292 292
         final CustomSet<Integer> expected
@@ -303,7 +303,7 @@ public class CustomSetTest {
303 303
     }
304 304
 
305 305
     @Test
306
-    @Ignore
306
+    @Ignore("Remove to run test")
307 307
     public void intersectionOfTwoEmptySetsIsAnEmptySet() {
308 308
         final CustomSet<Integer> actual
309 309
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -316,7 +316,7 @@ public class CustomSetTest {
316 316
     }
317 317
 
318 318
     @Test
319
-    @Ignore
319
+    @Ignore("Remove to run test")
320 320
     public void intersectionOfAnEmptySetAndNonEmptySetIsAnEmptySet() {
321 321
         final CustomSet<Integer> actual
322 322
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -329,7 +329,7 @@ public class CustomSetTest {
329 329
     }
330 330
 
331 331
     @Test
332
-    @Ignore
332
+    @Ignore("Remove to run test")
333 333
     public void intersectionOfANonEmptySetAndAnEmptySetIsAnEmptySet() {
334 334
         final CustomSet<Integer> actual
335 335
                 = new CustomSet<>(Arrays.asList(1, 2, 3, 4))
@@ -343,7 +343,7 @@ public class CustomSetTest {
343 343
     }
344 344
 
345 345
     @Test
346
-    @Ignore
346
+    @Ignore("Remove to run test")
347 347
     public void intersectionOfTwoSetsWithNoSharedElementsIsAnEmptySet() {
348 348
         final CustomSet<Integer> actual
349 349
                 = new CustomSet<>(Arrays.asList(1, 2, 3))
@@ -356,7 +356,7 @@ public class CustomSetTest {
356 356
     }
357 357
 
358 358
     @Test
359
-    @Ignore
359
+    @Ignore("Remove to run test")
360 360
     public void intersectionOfTwoSetsWithSharedElementsIsASetOfTheSharedElements() {
361 361
         final CustomSet<Integer> expected
362 362
                 = new CustomSet<>(
@@ -374,7 +374,7 @@ public class CustomSetTest {
374 374
     }
375 375
 
376 376
     @Test
377
-    @Ignore
377
+    @Ignore("Remove to run test")
378 378
     public void differenceOfTwoEmptySetsIsAnEmptySet() {
379 379
         final CustomSet<Integer> actual
380 380
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -387,7 +387,7 @@ public class CustomSetTest {
387 387
     }
388 388
 
389 389
     @Test
390
-    @Ignore
390
+    @Ignore("Remove to run test")
391 391
     public void differenceOfAnEmptySetAndNonEmptySetIsAnEmptySet() {
392 392
         final CustomSet<Integer> actual
393 393
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -400,7 +400,7 @@ public class CustomSetTest {
400 400
     }
401 401
 
402 402
     @Test
403
-    @Ignore
403
+    @Ignore("Remove to run test")
404 404
     public void differenceOfANonEmptySetAndAnEmptySetIsTheNonEmptySet() {
405 405
         final CustomSet<Integer> expected
406 406
                 = new CustomSet<>(
@@ -418,7 +418,7 @@ public class CustomSetTest {
418 418
     }
419 419
 
420 420
     @Test
421
-    @Ignore
421
+    @Ignore("Remove to run test")
422 422
     public void differenceOfTwoNonEmptySetsIsASetOfElementsThatAreOnlyInTheFirstSet() {
423 423
         final CustomSet<Integer> expected
424 424
                 = new CustomSet<>(
@@ -436,7 +436,7 @@ public class CustomSetTest {
436 436
     }
437 437
 
438 438
     @Test
439
-    @Ignore
439
+    @Ignore("Remove to run test")
440 440
     public void unionOfTwoEmptySetsIsAnEmptySet() {
441 441
         final CustomSet<Integer> actual
442 442
                 = new CustomSet<>(Collections.EMPTY_LIST)
@@ -449,7 +449,7 @@ public class CustomSetTest {
449 449
     }
450 450
 
451 451
     @Test
452
-    @Ignore
452
+    @Ignore("Remove to run test")
453 453
     public void unionOfAnEmptySetAndNonEmptySetIsTheNonEmptySet() {
454 454
         final CustomSet<Integer> expected
455 455
                 = new CustomSet<>(
@@ -467,7 +467,7 @@ public class CustomSetTest {
467 467
     }
468 468
 
469 469
     @Test
470
-    @Ignore
470
+    @Ignore("Remove to run test")
471 471
     public void unionOfANonEmptySetAndAnEmptySetIsTheNonEmptySet() {
472 472
         final CustomSet<Integer> expected
473 473
                 = new CustomSet<>(
@@ -485,7 +485,7 @@ public class CustomSetTest {
485 485
     }
486 486
 
487 487
     @Test
488
-    @Ignore
488
+    @Ignore("Remove to run test")
489 489
     public void unionOfTwoNonEmptySetsContainsAllUniqueElements() {
490 490
         final CustomSet<Integer> expected
491 491
                 = new CustomSet<>(

+ 4
- 4
exercises/diamond/src/test/java/DiamondPrinterTest.java Просмотреть файл

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

+ 3
- 3
exercises/etl/src/test/java/EtlTest.java Просмотреть файл

@@ -28,7 +28,7 @@ public class EtlTest {
28 28
         assertEquals(expected, etl.transform(old));
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void testTransformMoreValues() {
34 34
         Map<Integer, List<String>> old = new HashMap<Integer, List<String>>() {
@@ -52,7 +52,7 @@ public class EtlTest {
52 52
         assertEquals(expected, etl.transform(old));
53 53
     }
54 54
 
55
-    @Ignore
55
+    @Ignore("Remove to run test")
56 56
     @Test
57 57
     public void testMoreKeys() {
58 58
         Map<Integer, List<String>> old = new HashMap<Integer, List<String>>() {
@@ -76,7 +76,7 @@ public class EtlTest {
76 76
         assertEquals(expected, etl.transform(old));
77 77
     }
78 78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     @Test
81 81
     public void testFullDataset() {
82 82
         Map<Integer, List<String>> old = new HashMap<Integer, List<String>>() {

+ 5
- 5
exercises/flatten-array/src/test/java/FlattenerTest.java Просмотреть файл

@@ -30,7 +30,7 @@ public final class FlattenerTest {
30 30
                 "two")));
31 31
     }
32 32
 
33
-    @Ignore
33
+    @Ignore("Remove to run test")
34 34
     @Test
35 35
     public void testASingleLevelOfNestingWithNoNulls() {
36 36
         assertEquals(
@@ -48,7 +48,7 @@ public final class FlattenerTest {
48 48
               8)));
49 49
     }
50 50
 
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     @Test
53 53
     public void testFiveLevelsOfNestingWithNoNulls() {
54 54
         assertEquals(
@@ -71,7 +71,7 @@ public final class FlattenerTest {
71 71
               "-2")));
72 72
     }
73 73
 
74
-    @Ignore
74
+    @Ignore("Remove to run test")
75 75
     @Test
76 76
     public void testSixLevelsOfNestingWithNoNulls() {
77 77
         assertEquals(
@@ -94,7 +94,7 @@ public final class FlattenerTest {
94 94
               "8")));
95 95
     }
96 96
 
97
-    @Ignore
97
+    @Ignore("Remove to run test")
98 98
     @Test
99 99
     public void testSixLevelsOfNestingWithNulls() {
100 100
         assertEquals(
@@ -118,7 +118,7 @@ public final class FlattenerTest {
118 118
               "negative two")));
119 119
     }
120 120
 
121
-    @Ignore
121
+    @Ignore("Remove to run test")
122 122
     @Test
123 123
     public void testNestedListsFullOfNullsOnly() {
124 124
         assertEquals(

+ 7
- 7
exercises/grade-school/src/test/java/SchoolTest.java Просмотреть файл

@@ -28,14 +28,14 @@ public class SchoolTest {
28 28
     assertThat(school.numberOfStudents(), is(0));
29 29
   }
30 30
 
31
-  @Ignore
31
+  @Ignore("Remove to run test")
32 32
   @Test
33 33
   public void addsStudents() {
34 34
     school.add("Aimee", 2);
35 35
     assertThat(school.grade(2), hasItem("Aimee"));
36 36
   }
37 37
 
38
-  @Ignore
38
+  @Ignore("Remove to run test")
39 39
   @Test
40 40
   public void addsMoreStudentsInSameGrade() {
41 41
     final int grade = 2;
@@ -47,7 +47,7 @@ public class SchoolTest {
47 47
     assertThat(school.grade(grade), allOf(hasItem("James"), hasItem("Blair"), hasItem("Paul")));
48 48
   }
49 49
 
50
-  @Ignore
50
+  @Ignore("Remove to run test")
51 51
   @Test
52 52
   public void addsStudentsInMultipleGrades() {
53 53
     school.add("Chelsea", 3);
@@ -60,13 +60,13 @@ public class SchoolTest {
60 60
     assertThat(school.grade(7), hasItem("Logan"));
61 61
   }
62 62
 
63
-  @Ignore
63
+  @Ignore("Remove to run test")
64 64
   @Test
65 65
   public void getsStudentsInEmptyGrade() {
66 66
     assertTrue(school.grade(1).isEmpty());
67 67
   }
68 68
 
69
-  @Ignore
69
+  @Ignore("Remove to run test")
70 70
   @Test
71 71
   public void sortsSchool() {
72 72
     school.add("Kyle", 4);
@@ -91,7 +91,7 @@ public class SchoolTest {
91 91
     }
92 92
   }
93 93
 
94
-  @Ignore
94
+  @Ignore("Remove to run test")
95 95
   @Test
96 96
   public void modifyingFetchedGradeShouldNotModifyInternalDatabase() {
97 97
     String shouldNotBeAdded = "Should not be added to school";
@@ -109,7 +109,7 @@ public class SchoolTest {
109 109
     assertThat(school.grade(grade), not(hasItem(shouldNotBeAdded)));
110 110
   }
111 111
 
112
-  @Ignore
112
+  @Ignore("Remove to run test")
113 113
   @Test
114 114
   public void modifyingSortedStudentsShouldNotModifyInternalDatabase() {
115 115
     int grade = 2;

+ 8
- 8
exercises/hamming/src/test/java/HammingTest.java Просмотреть файл

@@ -16,51 +16,51 @@ public class HammingTest {
16 16
         assertThat(new Hamming("A", "A").getHammingDistance(), is(0));
17 17
     }
18 18
 
19
-    @Ignore
19
+    @Ignore("Remove to run test")
20 20
     @Test
21 21
     public void testHammingDistanceForSingleNucleotideStrand() {
22 22
         assertThat(new Hamming("A", "G").getHammingDistance(), is(1));
23 23
     }
24 24
 
25
-    @Ignore
25
+    @Ignore("Remove to run test")
26 26
     @Test
27 27
     public void testHammingDistanceForSmallStrand() {
28 28
         assertThat(new Hamming("AG", "CT").getHammingDistance(), is(2));
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void testSmallHammingDistance() {
34 34
         assertThat(new Hamming("AT", "CT").getHammingDistance(), is(1));
35 35
     }
36 36
 
37
-    @Ignore
37
+    @Ignore("Remove to run test")
38 38
     @Test
39 39
     public void testSmallHammingDistanceInLongerStrand() {
40 40
         assertThat(new Hamming("GGACG", "GGTCG").getHammingDistance(), is(1));
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void testValidatesFirstStrandNotLonger() {
46 46
         thrown.expect(IllegalArgumentException.class);
47 47
         new Hamming("AAAG", "AAA");
48 48
     }
49 49
 
50
-    @Ignore
50
+    @Ignore("Remove to run test")
51 51
     @Test
52 52
     public void testValidatesOtherStrandNotLonger() {
53 53
         thrown.expect(IllegalArgumentException.class);
54 54
         new Hamming("AAA", "AAAG");
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void testLargeHammingDistance() {
60 60
         assertThat(new Hamming("GATACA", "GCATAA").getHammingDistance(), is(4));
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void testHammingDistanceInVeryLongStrand() {
66 66
         assertThat(new Hamming("GGACGGATTCTG", "AGGACGGATTCT").getHammingDistance(), is(9));

+ 9
- 9
exercises/isogram/src/test/java/IsogramCheckerTest.java Просмотреть файл

@@ -11,63 +11,63 @@ public class IsogramCheckerTest {
11 11
         assertTrue(iso.isIsogram("duplicates"));
12 12
     }
13 13
 
14
-    @Ignore
14
+    @Ignore("Remove to run test")
15 15
     @Test
16 16
     public void testNotIsogram() {
17 17
         IsogramChecker iso = new IsogramChecker();
18 18
         assertFalse(iso.isIsogram("eleven"));
19 19
     }
20 20
 
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     @Test
23 23
     public void testMediumLongIsogram() {
24 24
         IsogramChecker iso = new IsogramChecker();
25 25
         assertTrue(iso.isIsogram("subdermatoglyphic"));
26 26
     }
27 27
 
28
-    @Ignore
28
+    @Ignore("Remove to run test")
29 29
     @Test
30 30
     public void testCaseInsensitive() {
31 31
         IsogramChecker iso = new IsogramChecker();
32 32
         assertFalse(iso.isIsogram("Alphabet"));
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void testIsogramWithHyphen() {
38 38
         IsogramChecker iso = new IsogramChecker();
39 39
         assertTrue(iso.isIsogram("thumbscrew-japingly"));
40 40
     }
41 41
 
42
-    @Ignore
42
+    @Ignore("Remove to run test")
43 43
     @Test
44 44
     public void testIgnoresMultipleHyphens() {
45 45
         IsogramChecker iso = new IsogramChecker();
46 46
         assertTrue(iso.isIsogram("Hjelmqvist-Gryb-Zock-Pfund-Wax"));
47 47
     }
48 48
 
49
-    @Ignore
49
+    @Ignore("Remove to run test")
50 50
     @Test
51 51
     public void testWorksWithGermanLetters() {
52 52
         IsogramChecker iso = new IsogramChecker();
53 53
         assertTrue(iso.isIsogram("Heizölrückstoßabdämpfung"));
54 54
     }
55 55
 
56
-    @Ignore
56
+    @Ignore("Remove to run test")
57 57
     @Test
58 58
     public void testIgnoresSpaces() {
59 59
         IsogramChecker iso = new IsogramChecker();
60 60
         assertFalse(iso.isIsogram("the quick brown fox"));
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void testIgnoresSpaces2() {
66 66
         IsogramChecker iso = new IsogramChecker();
67 67
         assertTrue(iso.isIsogram("Emily Jung Schwartzkopf"));
68 68
     }
69 69
 
70
-    @Ignore
70
+    @Ignore("Remove to run test")
71 71
     @Test
72 72
     public void testDuplicateAccentedLetters() {
73 73
         IsogramChecker iso = new IsogramChecker();

+ 17
- 17
exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java Просмотреть файл

@@ -24,7 +24,7 @@ public final class LargestSeriesProductCalculatorTest {
24 24
         assertEquals(expectedProduct, actualProduct);
25 25
     }
26 26
 
27
-    @Ignore
27
+    @Ignore("Remove to run test")
28 28
     @Test
29 29
     public void testCorrectlyCalculatesLargestProductOfLengthTwoWithNumbersNotInOrder() {
30 30
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("576802143");
@@ -35,7 +35,7 @@ public final class LargestSeriesProductCalculatorTest {
35 35
         assertEquals(expectedProduct, actualProduct);
36 36
     }
37 37
 
38
-    @Ignore
38
+    @Ignore("Remove to run test")
39 39
     @Test
40 40
     public void testCorrectlyCalculatesLargestProductWhenSeriesLengthEqualsStringToSearchLength() {
41 41
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("29");
@@ -46,7 +46,7 @@ public final class LargestSeriesProductCalculatorTest {
46 46
         assertEquals(expectedProduct, actualProduct);
47 47
     }
48 48
 
49
-    @Ignore
49
+    @Ignore("Remove to run test")
50 50
     @Test
51 51
     public void testCorrectlyCalculatesLargestProductOfLengthThreeWithNumbersInOrder() {
52 52
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("0123456789");
@@ -57,7 +57,7 @@ public final class LargestSeriesProductCalculatorTest {
57 57
         assertEquals(expectedProduct, actualProduct);
58 58
     }
59 59
 
60
-    @Ignore
60
+    @Ignore("Remove to run test")
61 61
     @Test
62 62
     public void testCorrectlyCalculatesLargestProductOfLengthThreeWithNumbersNotInOrder() {
63 63
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("1027839564");
@@ -68,7 +68,7 @@ public final class LargestSeriesProductCalculatorTest {
68 68
         assertEquals(expectedProduct, actualProduct);
69 69
     }
70 70
 
71
-    @Ignore
71
+    @Ignore("Remove to run test")
72 72
     @Test
73 73
     public void testCorrectlyCalculatesLargestProductOfLengthFiveWithNumbersInOrder() {
74 74
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("0123456789");
@@ -79,7 +79,7 @@ public final class LargestSeriesProductCalculatorTest {
79 79
         assertEquals(expectedProduct, actualProduct);
80 80
     }
81 81
 
82
-    @Ignore
82
+    @Ignore("Remove to run test")
83 83
     @Test
84 84
     public void testCorrectlyCalculatesLargestProductInLongStringToSearchV1() {
85 85
         final LargestSeriesProductCalculator calculator
@@ -92,7 +92,7 @@ public final class LargestSeriesProductCalculatorTest {
92 92
         assertEquals(expectedProduct, actualProduct);
93 93
     }
94 94
 
95
-    @Ignore
95
+    @Ignore("Remove to run test")
96 96
     @Test
97 97
     public void testCorrectlyCalculatesLargestProductInLongStringToSearchV2() {
98 98
         final LargestSeriesProductCalculator calculator
@@ -105,7 +105,7 @@ public final class LargestSeriesProductCalculatorTest {
105 105
         assertEquals(expectedProduct, actualProduct);
106 106
     }
107 107
 
108
-    @Ignore
108
+    @Ignore("Remove to run test")
109 109
     @Test
110 110
     public void testCorrectlyCalculatesLargestProductInLongStringToSearchFromProjectEuler() {
111 111
         final LargestSeriesProductCalculator calculator
@@ -118,7 +118,7 @@ public final class LargestSeriesProductCalculatorTest {
118 118
         assertEquals(expectedProduct, actualProduct);
119 119
     }
120 120
 
121
-    @Ignore
121
+    @Ignore("Remove to run test")
122 122
     @Test
123 123
     public void testCorrectlyCalculatesLargestProductOfZeroIfAllDigitsAreZeroes() {
124 124
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("0000");
@@ -129,7 +129,7 @@ public final class LargestSeriesProductCalculatorTest {
129 129
         assertEquals(expectedProduct, actualProduct);
130 130
     }
131 131
 
132
-    @Ignore
132
+    @Ignore("Remove to run test")
133 133
     @Test
134 134
     public void testCorrectlyCalculatesLargestProductOfZeroIfAllSeriesOfGivenLengthContainZero() {
135 135
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("99099");
@@ -140,7 +140,7 @@ public final class LargestSeriesProductCalculatorTest {
140 140
         assertEquals(expectedProduct, actualProduct);
141 141
     }
142 142
 
143
-    @Ignore
143
+    @Ignore("Remove to run test")
144 144
     @Test
145 145
     public void testSeriesLengthLongerThanLengthOfStringToTestIsRejected() {
146 146
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("123");
@@ -152,7 +152,7 @@ public final class LargestSeriesProductCalculatorTest {
152 152
         calculator.calculateLargestProductForSeriesLength(4);
153 153
     }
154 154
 
155
-    @Ignore
155
+    @Ignore("Remove to run test")
156 156
     @Test
157 157
     public void testCorrectlyCalculatesLargestProductOfLength0ForEmptyStringToSearch() {
158 158
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("");
@@ -163,7 +163,7 @@ public final class LargestSeriesProductCalculatorTest {
163 163
         assertEquals(expectedProduct, actualProduct);
164 164
     }
165 165
 
166
-    @Ignore
166
+    @Ignore("Remove to run test")
167 167
     @Test
168 168
     public void testCorrectlyCalculatesLargestProductOfLength0ForNonEmptyStringToSearch() {
169 169
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("123");
@@ -174,7 +174,7 @@ public final class LargestSeriesProductCalculatorTest {
174 174
         assertEquals(expectedProduct, actualProduct);
175 175
     }
176 176
 
177
-    @Ignore
177
+    @Ignore("Remove to run test")
178 178
     @Test
179 179
     public void testEmptyStringToSearchAndSeriesOfNonZeroLengthIsRejected() {
180 180
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("");
@@ -186,7 +186,7 @@ public final class LargestSeriesProductCalculatorTest {
186 186
         calculator.calculateLargestProductForSeriesLength(1);
187 187
     }
188 188
 
189
-    @Ignore
189
+    @Ignore("Remove to run test")
190 190
     @Test
191 191
     public void testStringToSearchContainingNonDigitCharacterIsRejected() {
192 192
         expectedException.expect(IllegalArgumentException.class);
@@ -195,7 +195,7 @@ public final class LargestSeriesProductCalculatorTest {
195 195
         new LargestSeriesProductCalculator("1234a5");
196 196
     }
197 197
 
198
-    @Ignore
198
+    @Ignore("Remove to run test")
199 199
     @Test
200 200
     public void testNegativeSeriesLengthIsRejected() {
201 201
         final LargestSeriesProductCalculator calculator = new LargestSeriesProductCalculator("12345");
@@ -206,7 +206,7 @@ public final class LargestSeriesProductCalculatorTest {
206 206
         calculator.calculateLargestProductForSeriesLength(-1);
207 207
     }
208 208
 
209
-    @Ignore
209
+    @Ignore("Remove to run test")
210 210
     @Test
211 211
     public void testNullStringToSearchIsRejected() {
212 212
         expectedException.expect(IllegalArgumentException.class);

+ 4
- 4
exercises/linked-list/src/test/java/DoublyLinkedListTest.java Просмотреть файл

@@ -22,7 +22,7 @@ public class DoublyLinkedListTest {
22 22
         assertThat(subject.pop(), is(10));
23 23
     }
24 24
 
25
-    @Ignore
25
+    @Ignore("Remove to run test")
26 26
     @Test
27 27
     public void testPushShift() {
28 28
         subject.push(10);
@@ -31,7 +31,7 @@ public class DoublyLinkedListTest {
31 31
         assertThat(subject.shift(), is(20));
32 32
     }
33 33
 
34
-    @Ignore
34
+    @Ignore("Remove to run test")
35 35
     @Test
36 36
     public void testUnshiftShift() {
37 37
         subject.unshift(10);
@@ -40,7 +40,7 @@ public class DoublyLinkedListTest {
40 40
         assertThat(subject.shift(), is(10));
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void testUnshiftPop() {
46 46
         subject.unshift(10);
@@ -49,7 +49,7 @@ public class DoublyLinkedListTest {
49 49
         assertThat(subject.pop(), is(20));
50 50
     }
51 51
 
52
-    @Ignore
52
+    @Ignore("Remove to run test")
53 53
     @Test
54 54
     public void testExample() {
55 55
         subject.push(10);

+ 19
- 19
exercises/list-ops/src/test/java/ListOpsTest.java Просмотреть файл

@@ -29,7 +29,7 @@ public class ListOpsTest {
29 29
     }
30 30
 
31 31
     @Test
32
-    @Ignore
32
+    @Ignore("Remove to run test")
33 33
     public void shouldReturnTheCorrectLengthOfAnNonEmptyList() {
34 34
         final List<Integer> list = Collections.unmodifiableList(
35 35
                 Arrays.asList(0, 1, 2, 3, 4)
@@ -41,7 +41,7 @@ public class ListOpsTest {
41 41
     }
42 42
 
43 43
     @Test
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     public void shouldReverseAnEmptyList() {
46 46
         final List<Integer> actual = ListOps.reverse(EMPTY_LIST);
47 47
 
@@ -50,7 +50,7 @@ public class ListOpsTest {
50 50
     }
51 51
 
52 52
     @Test
53
-    @Ignore
53
+    @Ignore("Remove to run test")
54 54
     public void shouldReverseANonEmptyList() {
55 55
         final List<Integer> list = Collections.unmodifiableList(
56 56
                 Arrays.asList(0, 1, 2, 3, 4, 5, 6, 7, 8)
@@ -66,7 +66,7 @@ public class ListOpsTest {
66 66
     }
67 67
 
68 68
     @Test
69
-    @Ignore
69
+    @Ignore("Remove to run test")
70 70
     public void shouldMapAnEmptyListAndReturnAnEmptyList() {
71 71
         final List<Integer> actual = ListOps.map(EMPTY_LIST, x -> x + 1);
72 72
 
@@ -75,7 +75,7 @@ public class ListOpsTest {
75 75
     }
76 76
 
77 77
     @Test
78
-    @Ignore
78
+    @Ignore("Remove to run test")
79 79
     public void shouldMapNonEmptyList() {
80 80
         final List<Integer> list
81 81
                 = Collections.unmodifiableList(Arrays.asList(1, 3, 5, 7));
@@ -87,7 +87,7 @@ public class ListOpsTest {
87 87
     }
88 88
 
89 89
     @Test
90
-    @Ignore
90
+    @Ignore("Remove to run test")
91 91
     public void shouldFilterAnEmptyListanddReturnAnEmptyList() {
92 92
         final List<Integer> actual = ListOps.filter(EMPTY_LIST, x -> x > 0);
93 93
 
@@ -96,7 +96,7 @@ public class ListOpsTest {
96 96
     }
97 97
 
98 98
     @Test
99
-    @Ignore
99
+    @Ignore("Remove to run test")
100 100
     public void shouldFilterNonEmptyList() {
101 101
         Predicate<Integer> predicate = x -> x % 2 > 0;
102 102
         final List<Integer> list = Collections.unmodifiableList(
@@ -113,7 +113,7 @@ public class ListOpsTest {
113 113
     }
114 114
 
115 115
     @Test
116
-    @Ignore
116
+    @Ignore("Remove to run test")
117 117
     public void shouldConcatenateZeroLists() {
118 118
         List<Integer> actual = ListOps.concat();
119 119
 
@@ -122,7 +122,7 @@ public class ListOpsTest {
122 122
     }
123 123
 
124 124
     @Test
125
-    @Ignore
125
+    @Ignore("Remove to run test")
126 126
     public void shouldConcatenateOneNonEmptyList() {
127 127
         final List<Integer> list
128 128
                 = Collections.unmodifiableList(
@@ -137,7 +137,7 @@ public class ListOpsTest {
137 137
     }
138 138
 
139 139
     @Test
140
-    @Ignore
140
+    @Ignore("Remove to run test")
141 141
     public void shouldConcatenateOneEmptyList() {
142 142
         final List<Integer> actual = ListOps.concat(EMPTY_LIST);
143 143
 
@@ -146,7 +146,7 @@ public class ListOpsTest {
146 146
     }
147 147
 
148 148
     @Test
149
-    @Ignore
149
+    @Ignore("Remove to run test")
150 150
     public void shouldConcatenateTwoEmptyLists() {
151 151
         final List<Integer> actual = ListOps.concat(EMPTY_LIST, EMPTY_LIST);
152 152
 
@@ -155,7 +155,7 @@ public class ListOpsTest {
155 155
     }
156 156
 
157 157
     @Test
158
-    @Ignore
158
+    @Ignore("Remove to run test")
159 159
     public void shouldConcatenateOneEmptyAndOneNonEmptyLists() {
160 160
         final List<Integer> list
161 161
                 = Collections.unmodifiableList(
@@ -171,7 +171,7 @@ public class ListOpsTest {
171 171
     }
172 172
 
173 173
     @Test
174
-    @Ignore
174
+    @Ignore("Remove to run test")
175 175
     public void shouldConcatenateOneNonEmptyAndOneEmptyLists() {
176 176
         final List<Integer> list
177 177
                 = Collections.unmodifiableList(
@@ -187,7 +187,7 @@ public class ListOpsTest {
187 187
     }
188 188
 
189 189
     @Test
190
-    @Ignore
190
+    @Ignore("Remove to run test")
191 191
     public void shouldConcatenateTwoListsWithSameElements() {
192 192
         final List<Integer> list1 = Collections.unmodifiableList(
193 193
                 Arrays.asList(0, 1, 2, 3, 4)
@@ -205,7 +205,7 @@ public class ListOpsTest {
205 205
     }
206 206
 
207 207
     @Test
208
-    @Ignore
208
+    @Ignore("Remove to run test")
209 209
     public void shouldConcatenateSeveralLists() {
210 210
         final List<Integer> list1 = Collections.unmodifiableList(
211 211
                 Arrays.asList(0, 1, 2, 3)
@@ -232,7 +232,7 @@ public class ListOpsTest {
232 232
     }
233 233
 
234 234
     @Test
235
-    @Ignore
235
+    @Ignore("Remove to run test")
236 236
     public void shouldReturnIdentityWhenAnEmptyListIsReduced() {
237 237
         final int expected = 0;
238 238
         final int actual
@@ -242,7 +242,7 @@ public class ListOpsTest {
242 242
     }
243 243
 
244 244
     @Test
245
-    @Ignore
245
+    @Ignore("Remove to run test")
246 246
     public void shouldCalculateTheSumOfANonEmptyIntegerList() {
247 247
         final List<Integer> list = Collections.unmodifiableList(
248 248
                 Arrays.asList(0, 1, 2, 3, 4)
@@ -273,7 +273,7 @@ public class ListOpsTest {
273 273
             };
274 274
 
275 275
     @Test
276
-    @Ignore
276
+    @Ignore("Remove to run test")
277 277
     public void shouldReduceAnEmptyListAndANonEmptyListAndReturnConcatenation() {
278 278
         final List<Integer> list = Collections.unmodifiableList(
279 279
                 Arrays.asList(0, 1, 2, 3, 4, 5)
@@ -292,7 +292,7 @@ public class ListOpsTest {
292 292
     }
293 293
 
294 294
     @Test
295
-    @Ignore
295
+    @Ignore("Remove to run test")
296 296
     public void shouldReduceTwoNonEmptyListsAndReturnConcatenation() {
297 297
         final List<Integer> listOne = Collections.unmodifiableList(
298 298
                 Arrays.asList(0, 1, 2, 3, 4)

+ 12
- 12
exercises/luhn/src/test/java/LuhnValidatorTest.java Просмотреть файл

@@ -18,73 +18,73 @@ public class LuhnValidatorTest {
18 18
         assertFalse(luhnValidator.isValid("1"));
19 19
     }
20 20
 
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     @Test
23 23
     public void testThatTheStringConsistingOfASingleZeroIsInvalid() {
24 24
         assertFalse(luhnValidator.isValid("0"));
25 25
     }
26 26
 
27
-    @Ignore
27
+    @Ignore("Remove to run test")
28 28
     @Test
29 29
     public void testThatASimpleValidNumberIsIdentifiedAsValid() {
30 30
         assertTrue(luhnValidator.isValid(" 5 9 "));
31 31
     }
32 32
 
33
-    @Ignore
33
+    @Ignore("Remove to run test")
34 34
     @Test
35 35
     public void testThatAValidCanadianSocialInsuranceNumberIsIdentifiedAsValidV1() {
36 36
         assertTrue(luhnValidator.isValid("046 454 286"));
37 37
     }
38 38
 
39
-    @Ignore
39
+    @Ignore("Remove to run test")
40 40
     @Test
41 41
     public void testThatAValidCanadianSocialInsuranceNumberIsIdentifiedAsValidV2() {
42 42
         assertTrue(luhnValidator.isValid("055 444 285"));
43 43
     }
44 44
 
45
-    @Ignore
45
+    @Ignore("Remove to run test")
46 46
     @Test
47 47
     public void testThatAnInvalidCanadianSocialInsuranceNumberIsIdentifiedAsInvalid() {
48 48
         assertFalse(luhnValidator.isValid("046 454 287"));
49 49
     }
50 50
 
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     @Test
53 53
     public void testThatAnInvalidCreditCardIsIdentifiedAsInvalid() {
54 54
         assertFalse(luhnValidator.isValid("8273 1232 7352 0569"));
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void testThatAddingANonDigitCharacterToAValidStringInvalidatesTheString() {
60 60
         assertFalse(luhnValidator.isValid("046a 454 286"));
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void testThatStringContainingPunctuationIsInvalid() {
66 66
         assertFalse(luhnValidator.isValid("055-444-285"));
67 67
     }
68 68
 
69
-    @Ignore
69
+    @Ignore("Remove to run test")
70 70
     @Test
71 71
     public void testThatStringContainingSymbolsIsInvalid() {
72 72
         assertFalse(luhnValidator.isValid("055£ 444$ 285"));
73 73
     }
74 74
 
75
-    @Ignore
75
+    @Ignore("Remove to run test")
76 76
     @Test
77 77
     public void testThatTheStringConsistingOfASpaceAndASingleZeroIsInvalid() {
78 78
         assertFalse(luhnValidator.isValid(" 0"));
79 79
     }
80 80
 
81
-    @Ignore
81
+    @Ignore("Remove to run test")
82 82
     @Test
83 83
     public void testThatStringContainingMultipleZerosIsValid() {
84 84
         assertTrue(luhnValidator.isValid(" 00000"));
85 85
     }
86 86
 
87
-    @Ignore
87
+    @Ignore("Remove to run test")
88 88
     @Test
89 89
     public void testThatDoublingNineIsHandledCorrectly() {
90 90
         assertTrue(luhnValidator.isValid("091"));

+ 5
- 5
exercises/matrix/src/test/java/MatrixTest.java Просмотреть файл

@@ -44,7 +44,7 @@ public class MatrixTest {
44 44
         }
45 45
     }
46 46
 
47
-    @Ignore
47
+    @Ignore("Remove to run test")
48 48
     @RunWith(Parameterized.class)
49 49
     public static class CountColumnsTest {
50 50
         private Matrix matrix;
@@ -76,7 +76,7 @@ public class MatrixTest {
76 76
         }
77 77
     }
78 78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     @RunWith(Parameterized.class)
81 81
     public static class GetFirstRowTest {
82 82
         private Matrix matrix;
@@ -108,7 +108,7 @@ public class MatrixTest {
108 108
         }
109 109
     }
110 110
 
111
-    @Ignore
111
+    @Ignore("Remove to run test")
112 112
     @RunWith(Parameterized.class)
113 113
     public static class GetLastRowTest {
114 114
         private Matrix matrix;
@@ -140,7 +140,7 @@ public class MatrixTest {
140 140
         }
141 141
     }
142 142
 
143
-    @Ignore
143
+    @Ignore("Remove to run test")
144 144
     @RunWith(Parameterized.class)
145 145
     public static class GetFirstColumnTest {
146 146
         private Matrix matrix;
@@ -173,7 +173,7 @@ public class MatrixTest {
173 173
     }
174 174
 
175 175
 
176
-    @Ignore
176
+    @Ignore("Remove to run test")
177 177
     @RunWith(Parameterized.class)
178 178
     public static class GetLastColumnTest {
179 179
         private Matrix matrix;

+ 90
- 90
exercises/meetup/src/test/java/MeetupTest.java Просмотреть файл

@@ -16,7 +16,7 @@ public class MeetupTest {
16 16
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH));
17 17
     }
18 18
 
19
-    @Ignore
19
+    @Ignore("Remove to run test")
20 20
     @Test
21 21
     public void testMonteenthOfAugust2013() {
22 22
         LocalDate expected = LocalDate.of(2013, 8, 19);
@@ -24,7 +24,7 @@ public class MeetupTest {
24 24
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH));
25 25
     }
26 26
 
27
-    @Ignore
27
+    @Ignore("Remove to run test")
28 28
     @Test
29 29
     public void testMonteenthOfSeptember2013() {
30 30
         LocalDate expected = LocalDate.of(2013, 9, 16);
@@ -32,7 +32,7 @@ public class MeetupTest {
32 32
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.TEENTH));
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void testTuesteenthOfMarch2013() {
38 38
         LocalDate expected = LocalDate.of(2013, 3, 19);
@@ -40,7 +40,7 @@ public class MeetupTest {
40 40
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH));
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void testTuesteenthOfApril2013() {
46 46
         LocalDate expected = LocalDate.of(2013, 4, 16);
@@ -48,7 +48,7 @@ public class MeetupTest {
48 48
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH));
49 49
     }
50 50
 
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     @Test
53 53
     public void testTuesteenthOfAugust2013() {
54 54
         LocalDate expected = LocalDate.of(2013, 8, 13);
@@ -56,7 +56,7 @@ public class MeetupTest {
56 56
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.TEENTH));
57 57
     }
58 58
 
59
-    @Ignore
59
+    @Ignore("Remove to run test")
60 60
     @Test
61 61
     public void testWednesteenthOfJanuary2013() {
62 62
         LocalDate expected = LocalDate.of(2013, 1, 16);
@@ -64,7 +64,7 @@ public class MeetupTest {
64 64
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH));
65 65
     }
66 66
 
67
-    @Ignore
67
+    @Ignore("Remove to run test")
68 68
     @Test
69 69
     public void testWednesteenthOfFebruary2013() {
70 70
         LocalDate expected = LocalDate.of(2013, 2, 13);
@@ -72,7 +72,7 @@ public class MeetupTest {
72 72
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH));
73 73
     }
74 74
 
75
-    @Ignore
75
+    @Ignore("Remove to run test")
76 76
     @Test
77 77
     public void testWednesteenthOfJune2013() {
78 78
         LocalDate expected = LocalDate.of(2013, 6, 19);
@@ -80,7 +80,7 @@ public class MeetupTest {
80 80
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.TEENTH));
81 81
     }
82 82
 
83
-    @Ignore
83
+    @Ignore("Remove to run test")
84 84
     @Test
85 85
     public void testThursteenthOfMay2013() {
86 86
         LocalDate expected = LocalDate.of(2013, 5, 16);
@@ -88,7 +88,7 @@ public class MeetupTest {
88 88
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH));
89 89
     }
90 90
 
91
-    @Ignore
91
+    @Ignore("Remove to run test")
92 92
     @Test
93 93
     public void testThursteenthOfJune2013() {
94 94
         LocalDate expected = LocalDate.of(2013, 6, 13);
@@ -96,7 +96,7 @@ public class MeetupTest {
96 96
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH));
97 97
     }
98 98
 
99
-    @Ignore
99
+    @Ignore("Remove to run test")
100 100
     @Test
101 101
     public void testThursteenthOfSeptember2013() {
102 102
         LocalDate expected = LocalDate.of(2013, 9, 19);
@@ -104,7 +104,7 @@ public class MeetupTest {
104 104
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.TEENTH));
105 105
     }
106 106
 
107
-    @Ignore
107
+    @Ignore("Remove to run test")
108 108
     @Test
109 109
     public void testFriteenthOfApril2013() {
110 110
         LocalDate expected = LocalDate.of(2013, 4, 19);
@@ -112,7 +112,7 @@ public class MeetupTest {
112 112
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH));
113 113
     }
114 114
 
115
-    @Ignore
115
+    @Ignore("Remove to run test")
116 116
     @Test
117 117
     public void testFriteenthOfAugust2013() {
118 118
         LocalDate expected = LocalDate.of(2013, 8, 16);
@@ -120,7 +120,7 @@ public class MeetupTest {
120 120
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH));
121 121
     }
122 122
 
123
-    @Ignore
123
+    @Ignore("Remove to run test")
124 124
     @Test
125 125
     public void testFriteenthOfSeptember2013() {
126 126
         LocalDate expected = LocalDate.of(2013, 9, 13);
@@ -128,7 +128,7 @@ public class MeetupTest {
128 128
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.TEENTH));
129 129
     }
130 130
 
131
-    @Ignore
131
+    @Ignore("Remove to run test")
132 132
     @Test
133 133
     public void testSaturteenthOfFebruary2013() {
134 134
         LocalDate expected = LocalDate.of(2013, 2, 16);
@@ -136,7 +136,7 @@ public class MeetupTest {
136 136
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH));
137 137
     }
138 138
 
139
-    @Ignore
139
+    @Ignore("Remove to run test")
140 140
     @Test
141 141
     public void testSaturteenthOfApril2013() {
142 142
         LocalDate expected = LocalDate.of(2013, 4, 13);
@@ -144,7 +144,7 @@ public class MeetupTest {
144 144
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH));
145 145
     }
146 146
 
147
-    @Ignore
147
+    @Ignore("Remove to run test")
148 148
     @Test
149 149
     public void testSaturteenthOfOctober2013() {
150 150
         LocalDate expected = LocalDate.of(2013, 10, 19);
@@ -152,7 +152,7 @@ public class MeetupTest {
152 152
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.TEENTH));
153 153
     }
154 154
 
155
-    @Ignore
155
+    @Ignore("Remove to run test")
156 156
     @Test
157 157
     public void testSunteenthOfMay2013() {
158 158
         LocalDate expected = LocalDate.of(2013, 5, 19);
@@ -160,7 +160,7 @@ public class MeetupTest {
160 160
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH));
161 161
     }
162 162
 
163
-    @Ignore
163
+    @Ignore("Remove to run test")
164 164
     @Test
165 165
     public void testSunteenthOfJune2013() {
166 166
         LocalDate expected = LocalDate.of(2013, 6, 16);
@@ -168,7 +168,7 @@ public class MeetupTest {
168 168
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH));
169 169
     }
170 170
 
171
-    @Ignore
171
+    @Ignore("Remove to run test")
172 172
     @Test
173 173
     public void testSunteenthOfOctober2013() {
174 174
         LocalDate expected = LocalDate.of(2013, 10, 13);
@@ -176,7 +176,7 @@ public class MeetupTest {
176 176
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.TEENTH));
177 177
     }
178 178
 
179
-    @Ignore
179
+    @Ignore("Remove to run test")
180 180
     @Test
181 181
     public void testFirstMondayOfMarch2013() {
182 182
         LocalDate expected = LocalDate.of(2013, 3, 4);
@@ -184,7 +184,7 @@ public class MeetupTest {
184 184
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FIRST));
185 185
     }
186 186
 
187
-    @Ignore
187
+    @Ignore("Remove to run test")
188 188
     @Test
189 189
     public void testFirstMondayOfApril2013() {
190 190
         LocalDate expected = LocalDate.of(2013, 4, 1);
@@ -192,7 +192,7 @@ public class MeetupTest {
192 192
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FIRST));
193 193
     }
194 194
 
195
-    @Ignore
195
+    @Ignore("Remove to run test")
196 196
     @Test
197 197
     public void testFirstTuesdayOfMay2013() {
198 198
         LocalDate expected = LocalDate.of(2013, 5, 7);
@@ -200,7 +200,7 @@ public class MeetupTest {
200 200
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FIRST));
201 201
     }
202 202
 
203
-    @Ignore
203
+    @Ignore("Remove to run test")
204 204
     @Test
205 205
     public void testFirstTuesdayOfJune2013() {
206 206
         LocalDate expected = LocalDate.of(2013, 6, 4);
@@ -208,7 +208,7 @@ public class MeetupTest {
208 208
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FIRST));
209 209
     }
210 210
 
211
-    @Ignore
211
+    @Ignore("Remove to run test")
212 212
     @Test
213 213
     public void testFirstWednesdayOfJuly2013() {
214 214
         LocalDate expected = LocalDate.of(2013, 7, 3);
@@ -216,7 +216,7 @@ public class MeetupTest {
216 216
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FIRST));
217 217
     }
218 218
 
219
-    @Ignore
219
+    @Ignore("Remove to run test")
220 220
     @Test
221 221
     public void testFirstWednesdayOfAugust2013() {
222 222
         LocalDate expected = LocalDate.of(2013, 8, 7);
@@ -224,7 +224,7 @@ public class MeetupTest {
224 224
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FIRST));
225 225
     }
226 226
 
227
-    @Ignore
227
+    @Ignore("Remove to run test")
228 228
     @Test
229 229
     public void testFirstThursdayOfSeptember2013() {
230 230
         LocalDate expected = LocalDate.of(2013, 9, 5);
@@ -232,7 +232,7 @@ public class MeetupTest {
232 232
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FIRST));
233 233
     }
234 234
 
235
-    @Ignore
235
+    @Ignore("Remove to run test")
236 236
     @Test
237 237
     public void testFirstThursdayOfOctober2013() {
238 238
         LocalDate expected = LocalDate.of(2013, 10, 3);
@@ -240,7 +240,7 @@ public class MeetupTest {
240 240
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FIRST));
241 241
     }
242 242
 
243
-    @Ignore
243
+    @Ignore("Remove to run test")
244 244
     @Test
245 245
     public void testFirstFridayOfNovember2013() {
246 246
         LocalDate expected = LocalDate.of(2013, 11, 1);
@@ -248,7 +248,7 @@ public class MeetupTest {
248 248
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FIRST));
249 249
     }
250 250
 
251
-    @Ignore
251
+    @Ignore("Remove to run test")
252 252
     @Test
253 253
     public void testFirstFridayOfDecember2013() {
254 254
         LocalDate expected = LocalDate.of(2013, 12, 6);
@@ -256,7 +256,7 @@ public class MeetupTest {
256 256
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FIRST));
257 257
     }
258 258
 
259
-    @Ignore
259
+    @Ignore("Remove to run test")
260 260
     @Test
261 261
     public void testFirstSaturdayOfJanuary2013() {
262 262
         LocalDate expected = LocalDate.of(2013, 1, 5);
@@ -264,7 +264,7 @@ public class MeetupTest {
264 264
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FIRST));
265 265
     }
266 266
 
267
-    @Ignore
267
+    @Ignore("Remove to run test")
268 268
     @Test
269 269
     public void testFirstSaturdayOfFebruary2013() {
270 270
         LocalDate expected = LocalDate.of(2013, 2, 2);
@@ -272,7 +272,7 @@ public class MeetupTest {
272 272
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FIRST));
273 273
     }
274 274
 
275
-    @Ignore
275
+    @Ignore("Remove to run test")
276 276
     @Test
277 277
     public void testFirstSundayOfMarch2013() {
278 278
         LocalDate expected = LocalDate.of(2013, 3, 3);
@@ -280,7 +280,7 @@ public class MeetupTest {
280 280
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FIRST));
281 281
     }
282 282
 
283
-    @Ignore
283
+    @Ignore("Remove to run test")
284 284
     @Test
285 285
     public void testFirstSundayOfApril2013() {
286 286
         LocalDate expected = LocalDate.of(2013, 4, 7);
@@ -288,7 +288,7 @@ public class MeetupTest {
288 288
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FIRST));
289 289
     }
290 290
 
291
-    @Ignore
291
+    @Ignore("Remove to run test")
292 292
     @Test
293 293
     public void testSecondMondayOfMarch2013() {
294 294
         LocalDate expected = LocalDate.of(2013, 3, 11);
@@ -296,7 +296,7 @@ public class MeetupTest {
296 296
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.SECOND));
297 297
     }
298 298
 
299
-    @Ignore
299
+    @Ignore("Remove to run test")
300 300
     @Test
301 301
     public void testSecondMondayOfApril2013() {
302 302
         LocalDate expected = LocalDate.of(2013, 4, 8);
@@ -304,7 +304,7 @@ public class MeetupTest {
304 304
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.SECOND));
305 305
     }
306 306
 
307
-    @Ignore
307
+    @Ignore("Remove to run test")
308 308
     @Test
309 309
     public void testSecondTuesdayOfMay2013() {
310 310
         LocalDate expected = LocalDate.of(2013, 5, 14);
@@ -312,7 +312,7 @@ public class MeetupTest {
312 312
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.SECOND));
313 313
     }
314 314
 
315
-    @Ignore
315
+    @Ignore("Remove to run test")
316 316
     @Test
317 317
     public void testSecondTuesdayOfJune2013() {
318 318
         LocalDate expected = LocalDate.of(2013, 6, 11);
@@ -320,7 +320,7 @@ public class MeetupTest {
320 320
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.SECOND));
321 321
     }
322 322
 
323
-    @Ignore
323
+    @Ignore("Remove to run test")
324 324
     @Test
325 325
     public void testSecondWednesdayOfJuly2013() {
326 326
         LocalDate expected = LocalDate.of(2013, 7, 10);
@@ -328,7 +328,7 @@ public class MeetupTest {
328 328
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.SECOND));
329 329
     }
330 330
 
331
-    @Ignore
331
+    @Ignore("Remove to run test")
332 332
     @Test
333 333
     public void testSecondWednesdayOfAugust2013() {
334 334
         LocalDate expected = LocalDate.of(2013, 8, 14);
@@ -336,7 +336,7 @@ public class MeetupTest {
336 336
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.SECOND));
337 337
     }
338 338
 
339
-    @Ignore
339
+    @Ignore("Remove to run test")
340 340
     @Test
341 341
     public void testSecondThursdayOfSeptember2013() {
342 342
         LocalDate expected = LocalDate.of(2013, 9, 12);
@@ -344,7 +344,7 @@ public class MeetupTest {
344 344
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.SECOND));
345 345
     }
346 346
 
347
-    @Ignore
347
+    @Ignore("Remove to run test")
348 348
     @Test
349 349
     public void testSecondThursdayOfOctober2013() {
350 350
         LocalDate expected = LocalDate.of(2013, 10, 10);
@@ -352,7 +352,7 @@ public class MeetupTest {
352 352
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.SECOND));
353 353
     }
354 354
 
355
-    @Ignore
355
+    @Ignore("Remove to run test")
356 356
     @Test
357 357
     public void testSecondFridayOfNovember2013() {
358 358
         LocalDate expected = LocalDate.of(2013, 11, 8);
@@ -360,7 +360,7 @@ public class MeetupTest {
360 360
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.SECOND));
361 361
     }
362 362
 
363
-    @Ignore
363
+    @Ignore("Remove to run test")
364 364
     @Test
365 365
     public void testSecondFridayOfDecember2013() {
366 366
         LocalDate expected = LocalDate.of(2013, 12, 13);
@@ -368,7 +368,7 @@ public class MeetupTest {
368 368
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.SECOND));
369 369
     }
370 370
 
371
-    @Ignore
371
+    @Ignore("Remove to run test")
372 372
     @Test
373 373
     public void testSecondSaturdayOfJanuary2013() {
374 374
         LocalDate expected = LocalDate.of(2013, 1, 12);
@@ -376,7 +376,7 @@ public class MeetupTest {
376 376
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.SECOND));
377 377
     }
378 378
 
379
-    @Ignore
379
+    @Ignore("Remove to run test")
380 380
     @Test
381 381
     public void testSecondSaturdayOfFebruary2013() {
382 382
         LocalDate expected = LocalDate.of(2013, 2, 9);
@@ -384,7 +384,7 @@ public class MeetupTest {
384 384
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.SECOND));
385 385
     }
386 386
 
387
-    @Ignore
387
+    @Ignore("Remove to run test")
388 388
     @Test
389 389
     public void testSecondSundayOfMarch2013() {
390 390
         LocalDate expected = LocalDate.of(2013, 3, 10);
@@ -392,7 +392,7 @@ public class MeetupTest {
392 392
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.SECOND));
393 393
     }
394 394
 
395
-    @Ignore
395
+    @Ignore("Remove to run test")
396 396
     @Test
397 397
     public void testSecondSundayOfApril2013() {
398 398
         LocalDate expected = LocalDate.of(2013, 4, 14);
@@ -400,7 +400,7 @@ public class MeetupTest {
400 400
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.SECOND));
401 401
     }
402 402
 
403
-    @Ignore
403
+    @Ignore("Remove to run test")
404 404
     @Test
405 405
     public void testThirdMondayOfMarch2013() {
406 406
         LocalDate expected = LocalDate.of(2013, 3, 18);
@@ -408,7 +408,7 @@ public class MeetupTest {
408 408
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.THIRD));
409 409
     }
410 410
 
411
-    @Ignore
411
+    @Ignore("Remove to run test")
412 412
     @Test
413 413
     public void testThirdMondayOfApril2013() {
414 414
         LocalDate expected = LocalDate.of(2013, 4, 15);
@@ -416,7 +416,7 @@ public class MeetupTest {
416 416
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.THIRD));
417 417
     }
418 418
 
419
-    @Ignore
419
+    @Ignore("Remove to run test")
420 420
     @Test
421 421
     public void testThirdTuesdayOfMay2013() {
422 422
         LocalDate expected = LocalDate.of(2013, 5, 21);
@@ -424,7 +424,7 @@ public class MeetupTest {
424 424
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.THIRD));
425 425
     }
426 426
 
427
-    @Ignore
427
+    @Ignore("Remove to run test")
428 428
     @Test
429 429
     public void testThirdTuesdayOfJune2013() {
430 430
         LocalDate expected = LocalDate.of(2013, 6, 18);
@@ -432,7 +432,7 @@ public class MeetupTest {
432 432
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.THIRD));
433 433
     }
434 434
 
435
-    @Ignore
435
+    @Ignore("Remove to run test")
436 436
     @Test
437 437
     public void testThirdWednesdayOfJuly2013() {
438 438
         LocalDate expected = LocalDate.of(2013, 7, 17);
@@ -440,7 +440,7 @@ public class MeetupTest {
440 440
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.THIRD));
441 441
     }
442 442
 
443
-    @Ignore
443
+    @Ignore("Remove to run test")
444 444
     @Test
445 445
     public void testThirdWednesdayOfAugust2013() {
446 446
         LocalDate expected = LocalDate.of(2013, 8, 21);
@@ -448,7 +448,7 @@ public class MeetupTest {
448 448
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.THIRD));
449 449
     }
450 450
 
451
-    @Ignore
451
+    @Ignore("Remove to run test")
452 452
     @Test
453 453
     public void testThirdThursdayOfSeptember2013() {
454 454
         LocalDate expected = LocalDate.of(2013, 9, 19);
@@ -456,7 +456,7 @@ public class MeetupTest {
456 456
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.THIRD));
457 457
     }
458 458
 
459
-    @Ignore
459
+    @Ignore("Remove to run test")
460 460
     @Test
461 461
     public void testThirdThursdayOfOctober2013() {
462 462
         LocalDate expected = LocalDate.of(2013, 10, 17);
@@ -464,7 +464,7 @@ public class MeetupTest {
464 464
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.THIRD));
465 465
     }
466 466
 
467
-    @Ignore
467
+    @Ignore("Remove to run test")
468 468
     @Test
469 469
     public void testThirdFridayOfNovember2013() {
470 470
         LocalDate expected = LocalDate.of(2013, 11, 15);
@@ -472,7 +472,7 @@ public class MeetupTest {
472 472
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.THIRD));
473 473
     }
474 474
 
475
-    @Ignore
475
+    @Ignore("Remove to run test")
476 476
     @Test
477 477
     public void testThirdFridayOfDecember2013() {
478 478
         LocalDate expected = LocalDate.of(2013, 12, 20);
@@ -480,7 +480,7 @@ public class MeetupTest {
480 480
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.THIRD));
481 481
     }
482 482
 
483
-    @Ignore
483
+    @Ignore("Remove to run test")
484 484
     @Test
485 485
     public void testThirdSaturdayOfJanuary2013() {
486 486
         LocalDate expected = LocalDate.of(2013, 1, 19);
@@ -488,7 +488,7 @@ public class MeetupTest {
488 488
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.THIRD));
489 489
     }
490 490
 
491
-    @Ignore
491
+    @Ignore("Remove to run test")
492 492
     @Test
493 493
     public void testThirdSaturdayOfFebruary2013() {
494 494
         LocalDate expected = LocalDate.of(2013, 2, 16);
@@ -496,7 +496,7 @@ public class MeetupTest {
496 496
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.THIRD));
497 497
     }
498 498
 
499
-    @Ignore
499
+    @Ignore("Remove to run test")
500 500
     @Test
501 501
     public void testThirdSundayOfMarch2013() {
502 502
         LocalDate expected = LocalDate.of(2013, 3, 17);
@@ -504,7 +504,7 @@ public class MeetupTest {
504 504
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.THIRD));
505 505
     }
506 506
 
507
-    @Ignore
507
+    @Ignore("Remove to run test")
508 508
     @Test
509 509
     public void testThirdSundayOfApril2013() {
510 510
         LocalDate expected = LocalDate.of(2013, 4, 21);
@@ -512,7 +512,7 @@ public class MeetupTest {
512 512
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.THIRD));
513 513
     }
514 514
 
515
-    @Ignore
515
+    @Ignore("Remove to run test")
516 516
     @Test
517 517
     public void testFourthMondayOfMarch2013() {
518 518
         LocalDate expected = LocalDate.of(2013, 3, 25);
@@ -520,7 +520,7 @@ public class MeetupTest {
520 520
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FOURTH));
521 521
     }
522 522
 
523
-    @Ignore
523
+    @Ignore("Remove to run test")
524 524
     @Test
525 525
     public void testFourthMondayOfApril2013() {
526 526
         LocalDate expected = LocalDate.of(2013, 4, 22);
@@ -528,7 +528,7 @@ public class MeetupTest {
528 528
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.FOURTH));
529 529
     }
530 530
 
531
-    @Ignore
531
+    @Ignore("Remove to run test")
532 532
     @Test
533 533
     public void testFourthTuesdayOfMay2013() {
534 534
         LocalDate expected = LocalDate.of(2013, 5, 28);
@@ -536,7 +536,7 @@ public class MeetupTest {
536 536
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FOURTH));
537 537
     }
538 538
 
539
-    @Ignore
539
+    @Ignore("Remove to run test")
540 540
     @Test
541 541
     public void testFourthTuesdayOfJune2013() {
542 542
         LocalDate expected = LocalDate.of(2013, 6, 25);
@@ -544,7 +544,7 @@ public class MeetupTest {
544 544
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.FOURTH));
545 545
     }
546 546
 
547
-    @Ignore
547
+    @Ignore("Remove to run test")
548 548
     @Test
549 549
     public void testFourthWednesdayOfJuly2013() {
550 550
         LocalDate expected = LocalDate.of(2013, 7, 24);
@@ -552,7 +552,7 @@ public class MeetupTest {
552 552
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FOURTH));
553 553
     }
554 554
 
555
-    @Ignore
555
+    @Ignore("Remove to run test")
556 556
     @Test
557 557
     public void testFourthWednesdayOfAugust2013() {
558 558
         LocalDate expected = LocalDate.of(2013, 8, 28);
@@ -560,7 +560,7 @@ public class MeetupTest {
560 560
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.FOURTH));
561 561
     }
562 562
 
563
-    @Ignore
563
+    @Ignore("Remove to run test")
564 564
     @Test
565 565
     public void testFourthThursdayOfSeptember2013() {
566 566
         LocalDate expected = LocalDate.of(2013, 9, 26);
@@ -568,7 +568,7 @@ public class MeetupTest {
568 568
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FOURTH));
569 569
     }
570 570
 
571
-    @Ignore
571
+    @Ignore("Remove to run test")
572 572
     @Test
573 573
     public void testFourthThursdayOfOctober2013() {
574 574
         LocalDate expected = LocalDate.of(2013, 10, 24);
@@ -576,7 +576,7 @@ public class MeetupTest {
576 576
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.FOURTH));
577 577
     }
578 578
 
579
-    @Ignore
579
+    @Ignore("Remove to run test")
580 580
     @Test
581 581
     public void testFourthFridayOfNovember2013() {
582 582
         LocalDate expected = LocalDate.of(2013, 11, 22);
@@ -584,7 +584,7 @@ public class MeetupTest {
584 584
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FOURTH));
585 585
     }
586 586
 
587
-    @Ignore
587
+    @Ignore("Remove to run test")
588 588
     @Test
589 589
     public void testFourthFridayOfDecember2013() {
590 590
         LocalDate expected = LocalDate.of(2013, 12, 27);
@@ -592,7 +592,7 @@ public class MeetupTest {
592 592
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.FOURTH));
593 593
     }
594 594
 
595
-    @Ignore
595
+    @Ignore("Remove to run test")
596 596
     @Test
597 597
     public void testFourthSaturdayOfJanuary2013() {
598 598
         LocalDate expected = LocalDate.of(2013, 1, 26);
@@ -600,7 +600,7 @@ public class MeetupTest {
600 600
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FOURTH));
601 601
     }
602 602
 
603
-    @Ignore
603
+    @Ignore("Remove to run test")
604 604
     @Test
605 605
     public void testFourthSaturdayOfFebruary2013() {
606 606
         LocalDate expected = LocalDate.of(2013, 2, 23);
@@ -608,7 +608,7 @@ public class MeetupTest {
608 608
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.FOURTH));
609 609
     }
610 610
 
611
-    @Ignore
611
+    @Ignore("Remove to run test")
612 612
     @Test
613 613
     public void testFourthSundayOfMarch2013() {
614 614
         LocalDate expected = LocalDate.of(2013, 3, 24);
@@ -616,7 +616,7 @@ public class MeetupTest {
616 616
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FOURTH));
617 617
     }
618 618
 
619
-    @Ignore
619
+    @Ignore("Remove to run test")
620 620
     @Test
621 621
     public void testFourthSundayOfApril2013() {
622 622
         LocalDate expected = LocalDate.of(2013, 4, 28);
@@ -624,7 +624,7 @@ public class MeetupTest {
624 624
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.FOURTH));
625 625
     }
626 626
 
627
-    @Ignore
627
+    @Ignore("Remove to run test")
628 628
     @Test
629 629
     public void testLastMondayOfMarch2013() {
630 630
         LocalDate expected = LocalDate.of(2013, 3, 25);
@@ -632,7 +632,7 @@ public class MeetupTest {
632 632
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.LAST));
633 633
     }
634 634
 
635
-    @Ignore
635
+    @Ignore("Remove to run test")
636 636
     @Test
637 637
     public void testLastMondayOfApril2013() {
638 638
         LocalDate expected = LocalDate.of(2013, 4, 29);
@@ -640,7 +640,7 @@ public class MeetupTest {
640 640
         assertEquals(expected, meetup.day(DayOfWeek.MONDAY, MeetupSchedule.LAST));
641 641
     }
642 642
 
643
-    @Ignore
643
+    @Ignore("Remove to run test")
644 644
     @Test
645 645
     public void testLastTuesdayOfMay2013() {
646 646
         LocalDate expected = LocalDate.of(2013, 5, 28);
@@ -648,7 +648,7 @@ public class MeetupTest {
648 648
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.LAST));
649 649
     }
650 650
 
651
-    @Ignore
651
+    @Ignore("Remove to run test")
652 652
     @Test
653 653
     public void testLastTuesdayOfJune2013() {
654 654
         LocalDate expected = LocalDate.of(2013, 6, 25);
@@ -656,7 +656,7 @@ public class MeetupTest {
656 656
         assertEquals(expected, meetup.day(DayOfWeek.TUESDAY, MeetupSchedule.LAST));
657 657
     }
658 658
 
659
-    @Ignore
659
+    @Ignore("Remove to run test")
660 660
     @Test
661 661
     public void testLastWednesdayOfJuly2013() {
662 662
         LocalDate expected = LocalDate.of(2013, 7, 31);
@@ -664,7 +664,7 @@ public class MeetupTest {
664 664
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST));
665 665
     }
666 666
 
667
-    @Ignore
667
+    @Ignore("Remove to run test")
668 668
     @Test
669 669
     public void testLastWednesdayOfAugust2013() {
670 670
         LocalDate expected = LocalDate.of(2013, 8, 28);
@@ -672,7 +672,7 @@ public class MeetupTest {
672 672
         assertEquals(expected, meetup.day(DayOfWeek.WEDNESDAY, MeetupSchedule.LAST));
673 673
     }
674 674
 
675
-    @Ignore
675
+    @Ignore("Remove to run test")
676 676
     @Test
677 677
     public void testLastThursdayOfSeptember2013() {
678 678
         LocalDate expected = LocalDate.of(2013, 9, 26);
@@ -680,7 +680,7 @@ public class MeetupTest {
680 680
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.LAST));
681 681
     }
682 682
 
683
-    @Ignore
683
+    @Ignore("Remove to run test")
684 684
     @Test
685 685
     public void testLastThursdayOfOctober2013() {
686 686
         LocalDate expected = LocalDate.of(2013, 10, 31);
@@ -688,7 +688,7 @@ public class MeetupTest {
688 688
         assertEquals(expected, meetup.day(DayOfWeek.THURSDAY, MeetupSchedule.LAST));
689 689
     }
690 690
 
691
-    @Ignore
691
+    @Ignore("Remove to run test")
692 692
     @Test
693 693
     public void testLastFridayOfNovember2013() {
694 694
         LocalDate expected = LocalDate.of(2013, 11, 29);
@@ -696,7 +696,7 @@ public class MeetupTest {
696 696
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.LAST));
697 697
     }
698 698
 
699
-    @Ignore
699
+    @Ignore("Remove to run test")
700 700
     @Test
701 701
     public void testLastFridayOfDecember2013() {
702 702
         LocalDate expected = LocalDate.of(2013, 12, 27);
@@ -704,7 +704,7 @@ public class MeetupTest {
704 704
         assertEquals(expected, meetup.day(DayOfWeek.FRIDAY, MeetupSchedule.LAST));
705 705
     }
706 706
 
707
-    @Ignore
707
+    @Ignore("Remove to run test")
708 708
     @Test
709 709
     public void testLastSaturdayOfJanuary2013() {
710 710
         LocalDate expected = LocalDate.of(2013, 1, 26);
@@ -712,7 +712,7 @@ public class MeetupTest {
712 712
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.LAST));
713 713
     }
714 714
 
715
-    @Ignore
715
+    @Ignore("Remove to run test")
716 716
     @Test
717 717
     public void testLastSaturdayOfFebruary2013() {
718 718
         LocalDate expected = LocalDate.of(2013, 2, 23);
@@ -720,7 +720,7 @@ public class MeetupTest {
720 720
         assertEquals(expected, meetup.day(DayOfWeek.SATURDAY, MeetupSchedule.LAST));
721 721
     }
722 722
 
723
-    @Ignore
723
+    @Ignore("Remove to run test")
724 724
     @Test
725 725
     public void testLastSundayOfMarch2013() {
726 726
         LocalDate expected = LocalDate.of(2013, 3, 31);
@@ -728,7 +728,7 @@ public class MeetupTest {
728 728
         assertEquals(expected, meetup.day(DayOfWeek.SUNDAY, MeetupSchedule.LAST));
729 729
     }
730 730
 
731
-    @Ignore
731
+    @Ignore("Remove to run test")
732 732
     @Test
733 733
     public void testLastSundayOfApril2013() {
734 734
         LocalDate expected = LocalDate.of(2013, 4, 28);

+ 14
- 14
exercises/minesweeper/src/test/java/MinesweeperBoardTest.java Просмотреть файл

@@ -28,7 +28,7 @@ public final class MinesweeperBoardTest {
28 28
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void testInputBoardWithOneRowAndNoColumns() {
34 34
         final List<String> inputBoard = Collections.singletonList("");
@@ -39,7 +39,7 @@ public final class MinesweeperBoardTest {
39 39
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
40 40
     }
41 41
 
42
-    @Ignore
42
+    @Ignore("Remove to run test")
43 43
     @Test
44 44
     public void testInputBoardWithNoMines() {
45 45
         final List<String> inputBoard = Arrays.asList(
@@ -60,7 +60,7 @@ public final class MinesweeperBoardTest {
60 60
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void testInputBoardWithOnlyMines() {
66 66
         final List<String> inputBoard = Arrays.asList(
@@ -81,7 +81,7 @@ public final class MinesweeperBoardTest {
81 81
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
82 82
     }
83 83
 
84
-    @Ignore
84
+    @Ignore("Remove to run test")
85 85
     @Test
86 86
     public void testInputBoardWithSingleMineAtCenter() {
87 87
         final List<String> inputBoard = Arrays.asList(
@@ -102,7 +102,7 @@ public final class MinesweeperBoardTest {
102 102
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
103 103
     }
104 104
 
105
-    @Ignore
105
+    @Ignore("Remove to run test")
106 106
     @Test
107 107
     public void testInputBoardWithMinesAroundPerimeter() {
108 108
         final List<String> inputBoard = Arrays.asList(
@@ -123,7 +123,7 @@ public final class MinesweeperBoardTest {
123 123
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
124 124
     }
125 125
 
126
-    @Ignore
126
+    @Ignore("Remove to run test")
127 127
     @Test
128 128
     public void testInputBoardWithSingleRowAndTwoMines() {
129 129
         final List<String> inputBoard = Collections.singletonList(
@@ -140,7 +140,7 @@ public final class MinesweeperBoardTest {
140 140
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
141 141
     }
142 142
 
143
-    @Ignore
143
+    @Ignore("Remove to run test")
144 144
     @Test
145 145
     public void testInputBoardWithSingleRowAndTwoMinesAtEdges() {
146 146
         final List<String> inputBoard = Collections.singletonList(
@@ -157,7 +157,7 @@ public final class MinesweeperBoardTest {
157 157
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
158 158
     }
159 159
 
160
-    @Ignore
160
+    @Ignore("Remove to run test")
161 161
     @Test
162 162
     public void testInputBoardWithSingleColumnAndTwoMines() {
163 163
         final List<String> inputBoard = Arrays.asList(
@@ -182,7 +182,7 @@ public final class MinesweeperBoardTest {
182 182
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
183 183
     }
184 184
 
185
-    @Ignore
185
+    @Ignore("Remove to run test")
186 186
     @Test
187 187
     public void testInputBoardWithSingleColumnAndTwoMinesAtEdges() {
188 188
         final List<String> inputBoard = Arrays.asList(
@@ -207,7 +207,7 @@ public final class MinesweeperBoardTest {
207 207
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
208 208
     }
209 209
 
210
-    @Ignore
210
+    @Ignore("Remove to run test")
211 211
     @Test
212 212
     public void testInputBoardWithMinesInCross() {
213 213
         final List<String> inputBoard = Arrays.asList(
@@ -232,7 +232,7 @@ public final class MinesweeperBoardTest {
232 232
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
233 233
     }
234 234
 
235
-    @Ignore
235
+    @Ignore("Remove to run test")
236 236
     @Test
237 237
     public void testLargeInputBoard() {
238 238
         final List<String> inputBoard = Arrays.asList(
@@ -259,7 +259,7 @@ public final class MinesweeperBoardTest {
259 259
         assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
260 260
     }
261 261
 
262
-    @Ignore
262
+    @Ignore("Remove to run test")
263 263
     @Test
264 264
     public void testNullInputBoardIsRejected() {
265 265
         expectedException.expect(IllegalArgumentException.class);
@@ -268,7 +268,7 @@ public final class MinesweeperBoardTest {
268 268
         new MinesweeperBoard(null);
269 269
     }
270 270
 
271
-    @Ignore
271
+    @Ignore("Remove to run test")
272 272
     @Test
273 273
     public void testInputBoardWithInvalidSymbolsIsRejected() {
274 274
         expectedException.expect(IllegalArgumentException.class);
@@ -277,7 +277,7 @@ public final class MinesweeperBoardTest {
277 277
         new MinesweeperBoard(Collections.singletonList(" * & "));
278 278
     }
279 279
 
280
-    @Ignore
280
+    @Ignore("Remove to run test")
281 281
     @Test
282 282
     public void testInputBoardWithInconsistentRowLengthsIsRejected() {
283 283
         expectedException.expect(IllegalArgumentException.class);

+ 4
- 4
exercises/nth-prime/src/test/java/PrimeCalculatorTest.java Просмотреть файл

@@ -23,25 +23,25 @@ public class PrimeCalculatorTest {
23 23
         assertThat(primeCalculator.nth(1), is(2));
24 24
     }
25 25
 
26
-    @Ignore
26
+    @Ignore("Remove to run test")
27 27
     @Test
28 28
     public void testSecondPrime() {
29 29
         assertThat(primeCalculator.nth(2), is(3));
30 30
     }
31 31
 
32
-    @Ignore
32
+    @Ignore("Remove to run test")
33 33
     @Test
34 34
     public void testSixthPrime() {
35 35
         assertThat(primeCalculator.nth(6), is(13));
36 36
     }
37 37
 
38
-    @Ignore
38
+    @Ignore("Remove to run test")
39 39
     @Test
40 40
     public void testBigPrime() {
41 41
         assertThat(primeCalculator.nth(10001), is(104743));
42 42
     }
43 43
 
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void testUndefinedPrime() {
47 47
         thrown.expect(IllegalArgumentException.class);

+ 8
- 8
exercises/nucleotide-count/src/test/java/NucleotideTest.java Просмотреть файл

@@ -19,7 +19,7 @@ public class NucleotideTest {
19 19
         assertThat(dna.count('A'), is(0));
20 20
     }
21 21
 
22
-    @Ignore
22
+    @Ignore("Remove to run test")
23 23
     @Test
24 24
     public void testEmptyDnaStringHasNoNucleotides() {
25 25
         DNA dna = new DNA("");
@@ -33,14 +33,14 @@ public class NucleotideTest {
33 33
         ));
34 34
     }
35 35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37 37
     @Test
38 38
     public void testRepetitiveCytosineGetsCounted() {
39 39
         DNA dna = new DNA("CCCCC");
40 40
         assertThat(dna.count('C'), is(5));
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void testRepetitiveSequenceWithOnlyGuanine() {
46 46
         DNA dna = new DNA("GGGGGGGG");
@@ -54,14 +54,14 @@ public class NucleotideTest {
54 54
         ));
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void testCountsOnlyThymine() {
60 60
         DNA dna = new DNA("GGGGGTAACCCGG");
61 61
         assertThat(dna.count('T'), is(1));
62 62
     }
63 63
 
64
-    @Ignore
64
+    @Ignore("Remove to run test")
65 65
     @Test
66 66
     public void testCountsANucleotideOnlyOnce() {
67 67
         DNA dna = new DNA("CGATTGGG");
@@ -69,7 +69,7 @@ public class NucleotideTest {
69 69
         assertThat(dna.count('T'), is(2));
70 70
     }
71 71
 
72
-    @Ignore
72
+    @Ignore("Remove to run test")
73 73
     @Test
74 74
     public void testDnaCountsDoNotChangeAfterCountingAdenine() {
75 75
         DNA dna = new DNA("GATTACA");
@@ -84,7 +84,7 @@ public class NucleotideTest {
84 84
         ));
85 85
     }
86 86
 
87
-    @Ignore
87
+    @Ignore("Remove to run test")
88 88
     @Test
89 89
     public void testValidatesNucleotides() {
90 90
         thrown.expect(IllegalArgumentException.class);
@@ -92,7 +92,7 @@ public class NucleotideTest {
92 92
         dna.count('X');
93 93
     }
94 94
 
95
-    @Ignore
95
+    @Ignore("Remove to run test")
96 96
     @Test
97 97
     public void testCountsAllNucleotides() {
98 98
         String s = "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC";

+ 4
- 4
exercises/palindrome-products/src/test/java/PalindromeCalculatorTest.java Просмотреть файл

@@ -34,7 +34,7 @@ public class PalindromeCalculatorTest {
34 34
     }
35 35
 
36 36
     @Test
37
-    @Ignore
37
+    @Ignore("Remove to run test")
38 38
     public void largestPalindromeFromDoubleDigitFactors() {
39 39
         final List<List<Integer>> expected = Collections.unmodifiableList(
40 40
                 Arrays.asList(
@@ -49,7 +49,7 @@ public class PalindromeCalculatorTest {
49 49
     }
50 50
 
51 51
     @Test
52
-    @Ignore
52
+    @Ignore("Remove to run test")
53 53
     public void smallestPalindromeFromDoubleDigitFactors() {
54 54
         final List<List<Integer>> expected = Collections.unmodifiableList(
55 55
                 Arrays.asList(
@@ -64,7 +64,7 @@ public class PalindromeCalculatorTest {
64 64
     }
65 65
 
66 66
     @Test
67
-    @Ignore
67
+    @Ignore("Remove to run test")
68 68
     public void largestPalindromeFromTripleDigitFactors() {
69 69
         final List<List<Integer>> expected = Collections.unmodifiableList(
70 70
                 Arrays.asList(
@@ -79,7 +79,7 @@ public class PalindromeCalculatorTest {
79 79
     }
80 80
 
81 81
     @Test
82
-    @Ignore
82
+    @Ignore("Remove to run test")
83 83
     public void smallestPalindromeFromTripleDigitFactors() {
84 84
         final List<List<Integer>> expected = Collections.unmodifiableList(
85 85
                 Arrays.asList(

+ 5
- 5
exercises/pascals-triangle/src/test/java/PascalsTriangleGeneratorTest.java Просмотреть файл

@@ -30,7 +30,7 @@ public class PascalsTriangleGeneratorTest {
30 30
         assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(0));
31 31
     }
32 32
 
33
-    @Ignore
33
+    @Ignore("Remove to run test")
34 34
     @Test
35 35
     public void testTriangleWithOneRow() {
36 36
         int[][] expectedOutput = new int[][]{
@@ -40,7 +40,7 @@ public class PascalsTriangleGeneratorTest {
40 40
         assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(1));
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void testTriangleWithTwoRows() {
46 46
         int[][] expectedOutput = new int[][]{
@@ -51,7 +51,7 @@ public class PascalsTriangleGeneratorTest {
51 51
         assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(2));
52 52
     }
53 53
 
54
-    @Ignore
54
+    @Ignore("Remove to run test")
55 55
     @Test
56 56
     public void testTriangleWithThreeRows() {
57 57
         int[][] expectedOutput = new int[][]{
@@ -63,7 +63,7 @@ public class PascalsTriangleGeneratorTest {
63 63
         assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(3));
64 64
     }
65 65
 
66
-    @Ignore
66
+    @Ignore("Remove to run test")
67 67
     @Test
68 68
     public void testTriangleWithFourRows() {
69 69
         int[][] expectedOutput = new int[][]{
@@ -76,7 +76,7 @@ public class PascalsTriangleGeneratorTest {
76 76
         assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(4));
77 77
     }
78 78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     @Test
81 81
     public void testValidatesNotNegativeRows() {
82 82
         thrown.expect(IllegalArgumentException.class);

+ 9
- 9
exercises/phone-number/src/test/java/PhoneNumberTest.java Просмотреть файл

@@ -25,7 +25,7 @@ public class PhoneNumberTest {
25 25
         );
26 26
     }
27 27
 
28
-    @Ignore
28
+    @Ignore("Remove to run test")
29 29
     @Test
30 30
     public void cleansNumberWithDots() {
31 31
         final String expectedNumber = "1234567890";
@@ -36,7 +36,7 @@ public class PhoneNumberTest {
36 36
         );
37 37
     }
38 38
 
39
-    @Ignore
39
+    @Ignore("Remove to run test")
40 40
     @Test
41 41
     public void cleansNumberWithMultipleSpaces() {
42 42
         final String expectedNumber = "1234567890";
@@ -47,7 +47,7 @@ public class PhoneNumberTest {
47 47
         );
48 48
     }
49 49
 
50
-    @Ignore
50
+    @Ignore("Remove to run test")
51 51
     @Test
52 52
     public void invalidWhen9Digits() {
53 53
         expectedException.expect(IllegalArgumentException.class);
@@ -55,7 +55,7 @@ public class PhoneNumberTest {
55 55
         new PhoneNumber("123456789");
56 56
     }
57 57
 
58
-    @Ignore
58
+    @Ignore("Remove to run test")
59 59
     @Test
60 60
     public void invalidWhen11Digits() {
61 61
         expectedException.expect(IllegalArgumentException.class);
@@ -63,7 +63,7 @@ public class PhoneNumberTest {
63 63
         new PhoneNumber("21234567890");
64 64
     }
65 65
 
66
-    @Ignore
66
+    @Ignore("Remove to run test")
67 67
     @Test
68 68
     public void validWhen11DigitsAndFirstIs1() {
69 69
         final String expectedNumber = "1234567890";
@@ -74,7 +74,7 @@ public class PhoneNumberTest {
74 74
         );
75 75
     }
76 76
 
77
-    @Ignore
77
+    @Ignore("Remove to run test")
78 78
     @Test
79 79
     public void invalidWhen12Digits() {
80 80
         expectedException.expect(IllegalArgumentException.class);
@@ -82,7 +82,7 @@ public class PhoneNumberTest {
82 82
         new PhoneNumber("321234567890");
83 83
     }
84 84
 
85
-    @Ignore
85
+    @Ignore("Remove to run test")
86 86
     @Test
87 87
     public void invalidWithLetters() {
88 88
         expectedException.expect(IllegalArgumentException.class);
@@ -90,7 +90,7 @@ public class PhoneNumberTest {
90 90
         new PhoneNumber("123-abc-7890");
91 91
     }
92 92
 
93
-    @Ignore
93
+    @Ignore("Remove to run test")
94 94
     @Test
95 95
     public void invalidWithPunctuation() {
96 96
         expectedException.expect(IllegalArgumentException.class);
@@ -98,7 +98,7 @@ public class PhoneNumberTest {
98 98
         new PhoneNumber("123-@:!-7890");
99 99
     }
100 100
 
101
-    @Ignore
101
+    @Ignore("Remove to run test")
102 102
     @Test
103 103
     public void invalidWithRightNumberOfDigitsButLettersMixedIn() {
104 104
         expectedException.expect(IllegalArgumentException.class);

+ 6
- 6
exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java Просмотреть файл

@@ -21,7 +21,7 @@ public class PythagoreanTripletTest {
21 21
     }
22 22
 
23 23
     @Test
24
-    @Ignore
24
+    @Ignore("Remove to run test")
25 25
     public void shouldCalculateProduct() {
26 26
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
27 27
         final long expected = 60l;
@@ -30,21 +30,21 @@ public class PythagoreanTripletTest {
30 30
     }
31 31
 
32 32
     @Test
33
-    @Ignore
33
+    @Ignore("Remove to run test")
34 34
     public void testIsPythagoreanOK() {
35 35
         PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
36 36
         assertTrue(sut.isPythagorean());
37 37
     }
38 38
 
39 39
     @Test
40
-    @Ignore
40
+    @Ignore("Remove to run test")
41 41
     public void testIsPythagoreanFail() {
42 42
         PythagoreanTriplet sut = new PythagoreanTriplet(5, 6, 7);
43 43
         assertFalse(sut.isPythagorean());
44 44
     }
45 45
 
46 46
     @Test
47
-    @Ignore
47
+    @Ignore("Remove to run test")
48 48
     public void shouldMakeTripletsUpToTen() {
49 49
         final List<Long> actual
50 50
                 = PythagoreanTriplet
@@ -60,7 +60,7 @@ public class PythagoreanTripletTest {
60 60
     }
61 61
 
62 62
     @Test
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     public void shouldMakeTripletsElevenToTwenty() {
65 65
         final List<Long> actual
66 66
                 = PythagoreanTriplet
@@ -77,7 +77,7 @@ public class PythagoreanTripletTest {
77 77
     }
78 78
 
79 79
     @Test
80
-    @Ignore
80
+    @Ignore("Remove to run test")
81 81
     public void shouldMakeTripletsAndFilterOnSum() {
82 82
         final List<Long> actual
83 83
                 = PythagoreanTriplet

+ 12
- 12
exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java Просмотреть файл

@@ -23,7 +23,7 @@ public final class QueenAttackCalculatorTest {
23 23
         assertFalse(calculator.canQueensAttackOneAnother());
24 24
     }
25 25
 
26
-    @Ignore
26
+    @Ignore("Remove to run test")
27 27
     @Test
28 28
     public void testQueensCanAttackOnTheSameRank() {
29 29
         final QueenAttackCalculator calculator
@@ -32,7 +32,7 @@ public final class QueenAttackCalculatorTest {
32 32
         assertTrue(calculator.canQueensAttackOneAnother());
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void testQueensCanAttackOnTheSameFile() {
38 38
         final QueenAttackCalculator calculator
@@ -41,7 +41,7 @@ public final class QueenAttackCalculatorTest {
41 41
         assertTrue(calculator.canQueensAttackOneAnother());
42 42
     }
43 43
 
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void testQueensCanAttackOnFirstDiagonal() {
47 47
         final QueenAttackCalculator calculator
@@ -50,7 +50,7 @@ public final class QueenAttackCalculatorTest {
50 50
         assertTrue(calculator.canQueensAttackOneAnother());
51 51
     }
52 52
 
53
-    @Ignore
53
+    @Ignore("Remove to run test")
54 54
     @Test
55 55
     public void testQueensCanAttackOnSecondDiagonal() {
56 56
         final QueenAttackCalculator calculator
@@ -59,7 +59,7 @@ public final class QueenAttackCalculatorTest {
59 59
         assertTrue(calculator.canQueensAttackOneAnother());
60 60
     }
61 61
 
62
-    @Ignore
62
+    @Ignore("Remove to run test")
63 63
     @Test
64 64
     public void testQueensCanAttackOnThirdDiagonal() {
65 65
         final QueenAttackCalculator calculator
@@ -68,7 +68,7 @@ public final class QueenAttackCalculatorTest {
68 68
         assertTrue(calculator.canQueensAttackOneAnother());
69 69
     }
70 70
 
71
-    @Ignore
71
+    @Ignore("Remove to run test")
72 72
     @Test
73 73
     public void testQueensCanAttackOnFourthDiagonal() {
74 74
         final QueenAttackCalculator calculator
@@ -77,7 +77,7 @@ public final class QueenAttackCalculatorTest {
77 77
         assertTrue(calculator.canQueensAttackOneAnother());
78 78
     }
79 79
 
80
-    @Ignore
80
+    @Ignore("Remove to run test")
81 81
     @Test
82 82
     public void testCoordinateWithNegativeRankNotAllowed() {
83 83
         expectedException.expect(IllegalArgumentException.class);
@@ -86,7 +86,7 @@ public final class QueenAttackCalculatorTest {
86 86
         new BoardCoordinate(-2, 2);
87 87
     }
88 88
 
89
-    @Ignore
89
+    @Ignore("Remove to run test")
90 90
     @Test
91 91
     public void testCoordinateWithRankGreaterThan7NotAllowed() {
92 92
         expectedException.expect(IllegalArgumentException.class);
@@ -95,7 +95,7 @@ public final class QueenAttackCalculatorTest {
95 95
         new BoardCoordinate(8, 4);
96 96
     }
97 97
 
98
-    @Ignore
98
+    @Ignore("Remove to run test")
99 99
     @Test
100 100
     public void testCoordinateWithNegativeFileNotAllowed() {
101 101
         expectedException.expect(IllegalArgumentException.class);
@@ -104,7 +104,7 @@ public final class QueenAttackCalculatorTest {
104 104
         new BoardCoordinate(2, -2);
105 105
     }
106 106
 
107
-    @Ignore
107
+    @Ignore("Remove to run test")
108 108
     @Test
109 109
     public void testCoordinateWithFileGreaterThan7NotAllowed() {
110 110
         expectedException.expect(IllegalArgumentException.class);
@@ -113,7 +113,7 @@ public final class QueenAttackCalculatorTest {
113 113
         new BoardCoordinate(4, 8);
114 114
     }
115 115
 
116
-    @Ignore
116
+    @Ignore("Remove to run test")
117 117
     @Test
118 118
     public void testNullCoordinateNotAllowed() {
119 119
         expectedException.expect(IllegalArgumentException.class);
@@ -122,7 +122,7 @@ public final class QueenAttackCalculatorTest {
122 122
         new QueenAttackCalculator(null, new BoardCoordinate(0, 7));
123 123
     }
124 124
 
125
-    @Ignore
125
+    @Ignore("Remove to run test")
126 126
     @Test
127 127
     public void testQueensMustNotOccupyTheSameSquare() {
128 128
         expectedException.expect(IllegalArgumentException.class);

+ 11
- 11
exercises/rectangles/src/test/java/RectangleCounterTest.java Просмотреть файл

@@ -20,7 +20,7 @@ public final class RectangleCounterTest {
20 20
         assertEquals(0, rectangleCounter.countRectangles(inputGrid));
21 21
     }
22 22
 
23
-    @Ignore
23
+    @Ignore("Remove to run test")
24 24
     @Test
25 25
     public void testNonTrivialInputWithNoRectangles() {
26 26
         String[] inputGrid = new String[]{" "};
@@ -28,7 +28,7 @@ public final class RectangleCounterTest {
28 28
         assertEquals(0, rectangleCounter.countRectangles(inputGrid));
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void testInputWithOneRectangle() {
34 34
         String[] inputGrid = new String[]{
@@ -40,7 +40,7 @@ public final class RectangleCounterTest {
40 40
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void testInputWithTwoRectanglesWithoutSharedEdges() {
46 46
         String[] inputGrid = new String[]{
@@ -54,7 +54,7 @@ public final class RectangleCounterTest {
54 54
         assertEquals(2, rectangleCounter.countRectangles(inputGrid));
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void testInputWithFiveRectanglesWithSharedEdges() {
60 60
         String[] inputGrid = new String[]{
@@ -68,7 +68,7 @@ public final class RectangleCounterTest {
68 68
         assertEquals(5, rectangleCounter.countRectangles(inputGrid));
69 69
     }
70 70
 
71
-    @Ignore
71
+    @Ignore("Remove to run test")
72 72
     @Test
73 73
     public void testThatRectangleOfHeightOneIsCounted() {
74 74
         String[] inputGrid = new String[]{
@@ -79,7 +79,7 @@ public final class RectangleCounterTest {
79 79
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
80 80
     }
81 81
 
82
-    @Ignore
82
+    @Ignore("Remove to run test")
83 83
     @Test
84 84
     public void testThatRectangleOfWidthOneIsCounted() {
85 85
         String[] inputGrid = new String[]{
@@ -91,7 +91,7 @@ public final class RectangleCounterTest {
91 91
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
92 92
     }
93 93
 
94
-    @Ignore
94
+    @Ignore("Remove to run test")
95 95
     @Test
96 96
     public void testThatOneByOneSquareIsCounted() {
97 97
         String[] inputGrid = new String[]{
@@ -102,7 +102,7 @@ public final class RectangleCounterTest {
102 102
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
103 103
     }
104 104
 
105
-    @Ignore
105
+    @Ignore("Remove to run test")
106 106
     @Test
107 107
     public void testThatIncompleteRectanglesAreNotCounted() {
108 108
         String[] inputGrid = new String[]{
@@ -116,7 +116,7 @@ public final class RectangleCounterTest {
116 116
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
117 117
     }
118 118
 
119
-    @Ignore
119
+    @Ignore("Remove to run test")
120 120
     @Test
121 121
     public void testThatRectanglesOfDifferentSizesAreAllCounted() {
122 122
         String[] inputGrid = new String[]{
@@ -130,7 +130,7 @@ public final class RectangleCounterTest {
130 130
         assertEquals(3, rectangleCounter.countRectangles(inputGrid));
131 131
     }
132 132
 
133
-    @Ignore
133
+    @Ignore("Remove to run test")
134 134
     @Test
135 135
     public void testThatIntersectionsWithoutCornerCharacterDoNotCountAsRectangleCorners() {
136 136
         String[] inputGrid = new String[]{
@@ -144,7 +144,7 @@ public final class RectangleCounterTest {
144 144
         assertEquals(2, rectangleCounter.countRectangles(inputGrid));
145 145
     }
146 146
 
147
-    @Ignore
147
+    @Ignore("Remove to run test")
148 148
     @Test
149 149
     public void testLargeInputWithManyRectangles() {
150 150
         String[] inputGrid = new String[]{

+ 2
- 2
exercises/robot-name/src/test/java/RobotTest.java Просмотреть файл

@@ -22,13 +22,13 @@ public class RobotTest {
22 22
         assertIsValidName(robot.getName());
23 23
     }
24 24
 
25
-    @Ignore
25
+    @Ignore("Remove to run test")
26 26
     @Test
27 27
     public void differentRobotsHaveDifferentNames() {
28 28
         assertThat(robot.getName(), not(equalTo(new Robot().getName())));
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void resetName() {
34 34
         final String name = robot.getName();

+ 19
- 19
exercises/robot-simulator/src/test/java/RobotTest.java Просмотреть файл

@@ -13,7 +13,7 @@ public final class RobotTest {
13 13
         assertTrue(robot.getGridPosition().equals(initialGridPosition));
14 14
     }
15 15
 
16
-    @Ignore
16
+    @Ignore("Remove to run test")
17 17
     @Test
18 18
     public void testRobotIsCreatedWithCorrectInitialOrientation() {
19 19
         final Orientation initialOrientation = Orientation.NORTH;
@@ -22,7 +22,7 @@ public final class RobotTest {
22 22
         assertTrue(robot.getOrientation().equals(initialOrientation));
23 23
     }
24 24
 
25
-    @Ignore
25
+    @Ignore("Remove to run test")
26 26
     @Test
27 27
     public void testTurningRightDoesNotChangePosition() {
28 28
         final GridPosition initialGridPosition = new GridPosition(0, 0);
@@ -33,7 +33,7 @@ public final class RobotTest {
33 33
         assertTrue(robot.getGridPosition().equals(initialGridPosition));
34 34
     }
35 35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37 37
     @Test
38 38
     public void testTurningRightCorrectlyChangesOrientationFromNorthToEast() {
39 39
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.NORTH);
@@ -45,7 +45,7 @@ public final class RobotTest {
45 45
         assertTrue(robot.getOrientation().equals(expectedOrientation));
46 46
     }
47 47
 
48
-    @Ignore
48
+    @Ignore("Remove to run test")
49 49
     @Test
50 50
     public void testTurningRightCorrectlyChangesOrientationFromEastToSouth() {
51 51
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.EAST);
@@ -57,7 +57,7 @@ public final class RobotTest {
57 57
         assertTrue(robot.getOrientation().equals(expectedOrientation));
58 58
     }
59 59
 
60
-    @Ignore
60
+    @Ignore("Remove to run test")
61 61
     @Test
62 62
     public void testTurningRightCorrectlyChangesOrientationFromSouthToWest() {
63 63
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.SOUTH);
@@ -69,7 +69,7 @@ public final class RobotTest {
69 69
         assertTrue(robot.getOrientation().equals(expectedOrientation));
70 70
     }
71 71
 
72
-    @Ignore
72
+    @Ignore("Remove to run test")
73 73
     @Test
74 74
     public void testTurningRightCorrectlyChangesOrientationFromWestToNorth() {
75 75
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.WEST);
@@ -81,7 +81,7 @@ public final class RobotTest {
81 81
         assertTrue(robot.getOrientation().equals(expectedOrientation));
82 82
     }
83 83
 
84
-    @Ignore
84
+    @Ignore("Remove to run test")
85 85
     @Test
86 86
     public void testTurningLeftDoesNotChangePosition() {
87 87
         final GridPosition initialGridPosition = new GridPosition(0, 0);
@@ -92,7 +92,7 @@ public final class RobotTest {
92 92
         assertTrue(robot.getGridPosition().equals(initialGridPosition));
93 93
     }
94 94
 
95
-    @Ignore
95
+    @Ignore("Remove to run test")
96 96
     @Test
97 97
     public void testTurningLeftCorrectlyChangesOrientationFromNorthToWest() {
98 98
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.NORTH);
@@ -104,7 +104,7 @@ public final class RobotTest {
104 104
         assertTrue(robot.getOrientation().equals(expectedOrientation));
105 105
     }
106 106
 
107
-    @Ignore
107
+    @Ignore("Remove to run test")
108 108
     @Test
109 109
     public void testTurningLeftCorrectlyChangesOrientationFromWestToSouth() {
110 110
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.WEST);
@@ -116,7 +116,7 @@ public final class RobotTest {
116 116
         assertTrue(robot.getOrientation().equals(expectedOrientation));
117 117
     }
118 118
 
119
-    @Ignore
119
+    @Ignore("Remove to run test")
120 120
     @Test
121 121
     public void testTurningLeftCorrectlyChangesOrientationFromSouthToEast() {
122 122
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.SOUTH);
@@ -128,7 +128,7 @@ public final class RobotTest {
128 128
         assertTrue(robot.getOrientation().equals(expectedOrientation));
129 129
     }
130 130
 
131
-    @Ignore
131
+    @Ignore("Remove to run test")
132 132
     @Test
133 133
     public void testTurningLeftCorrectlyChangesOrientationFromEastToNorth() {
134 134
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.EAST);
@@ -140,7 +140,7 @@ public final class RobotTest {
140 140
         assertTrue(robot.getOrientation().equals(expectedOrientation));
141 141
     }
142 142
 
143
-    @Ignore
143
+    @Ignore("Remove to run test")
144 144
     @Test
145 145
     public void testAdvancingDoesNotChangeOrientation() {
146 146
         final Orientation initialOrientation = Orientation.NORTH;
@@ -151,7 +151,7 @@ public final class RobotTest {
151 151
         assertTrue(robot.getOrientation().equals(initialOrientation));
152 152
     }
153 153
 
154
-    @Ignore
154
+    @Ignore("Remove to run test")
155 155
     @Test
156 156
     public void testAdvancingWhenFacingNorthIncreasesYCoordinateByOne() {
157 157
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.NORTH);
@@ -163,7 +163,7 @@ public final class RobotTest {
163 163
         assertTrue(robot.getGridPosition().equals(expectedGridPosition));
164 164
     }
165 165
 
166
-    @Ignore
166
+    @Ignore("Remove to run test")
167 167
     @Test
168 168
     public void testAdvancingWhenFacingSouthDecreasesYCoordinateByOne() {
169 169
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.SOUTH);
@@ -175,7 +175,7 @@ public final class RobotTest {
175 175
         assertTrue(robot.getGridPosition().equals(expectedGridPosition));
176 176
     }
177 177
 
178
-    @Ignore
178
+    @Ignore("Remove to run test")
179 179
     @Test
180 180
     public void testAdvancingWhenFacingEastIncreasesXCoordinateByOne() {
181 181
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.EAST);
@@ -187,7 +187,7 @@ public final class RobotTest {
187 187
         assertTrue(robot.getGridPosition().equals(expectedGridPosition));
188 188
     }
189 189
 
190
-    @Ignore
190
+    @Ignore("Remove to run test")
191 191
     @Test
192 192
     public void testAdvancingWhenFacingWestDecreasesXCoordinateByOne() {
193 193
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.WEST);
@@ -199,7 +199,7 @@ public final class RobotTest {
199 199
         assertTrue(robot.getGridPosition().equals(expectedGridPosition));
200 200
     }
201 201
 
202
-    @Ignore
202
+    @Ignore("Remove to run test")
203 203
     @Test
204 204
     public void testInstructionsToMoveWestAndNorth() {
205 205
         final Robot robot = new Robot(new GridPosition(0, 0), Orientation.NORTH);
@@ -213,7 +213,7 @@ public final class RobotTest {
213 213
         assertTrue(robot.getOrientation().equals(expectedOrientation));
214 214
     }
215 215
 
216
-    @Ignore
216
+    @Ignore("Remove to run test")
217 217
     @Test
218 218
     public void testInstructionsToMoveWestAndSouth() {
219 219
         final Robot robot = new Robot(new GridPosition(2, -7), Orientation.EAST);
@@ -227,7 +227,7 @@ public final class RobotTest {
227 227
         assertTrue(robot.getOrientation().equals(expectedOrientation));
228 228
     }
229 229
 
230
-    @Ignore
230
+    @Ignore("Remove to run test")
231 231
     @Test
232 232
     public void testInstructionsToMoveEastAndNorth() {
233 233
         final Robot robot = new Robot(new GridPosition(8, 4), Orientation.SOUTH);

+ 10
- 10
exercises/series/src/test/java/SeriesTest.java Просмотреть файл

@@ -26,7 +26,7 @@ public class SeriesTest {
26 26
     }
27 27
 
28 28
     @Test
29
-    @Ignore
29
+    @Ignore("Remove to run test")
30 30
     public void hasDigitsLong() {
31 31
         Series sut = new Series("0123456789");
32 32
         List<Integer> expected = Arrays.asList(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
@@ -37,7 +37,7 @@ public class SeriesTest {
37 37
     }
38 38
 
39 39
     @Test
40
-    @Ignore
40
+    @Ignore("Remove to run test")
41 41
     public void keepsTheDigitOrderIfReversed() {
42 42
         Series sut = new Series("9876543210");
43 43
         List<Integer> expected = Arrays.asList(9, 8, 7, 6, 5, 4, 3, 2, 1, 0);
@@ -48,7 +48,7 @@ public class SeriesTest {
48 48
     }
49 49
 
50 50
     @Test
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     public void keepsArbitraryDigitOrder() {
53 53
         Series sut = new Series("936923468");
54 54
         List<Integer> expected = Arrays.asList(9, 3, 6, 9, 2, 3, 4, 6, 8);
@@ -59,7 +59,7 @@ public class SeriesTest {
59 59
     }
60 60
 
61 61
     @Test
62
-    @Ignore
62
+    @Ignore("Remove to run test")
63 63
     public void canSliceByOne() {
64 64
         Series sut = new Series("01234");
65 65
         List<List<Integer>> expected = Arrays.asList(
@@ -76,7 +76,7 @@ public class SeriesTest {
76 76
     }
77 77
 
78 78
     @Test
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     public void canSliceByTwo() {
81 81
         Series sut = new Series("98273463");
82 82
         List<List<Integer>> expected = Arrays.asList(
@@ -95,7 +95,7 @@ public class SeriesTest {
95 95
     }
96 96
 
97 97
     @Test
98
-    @Ignore
98
+    @Ignore("Remove to run test")
99 99
     public void canSliceByThree() {
100 100
         Series sut = new Series("01234");
101 101
         List<List<Integer>> expected = Arrays.asList(
@@ -110,7 +110,7 @@ public class SeriesTest {
110 110
     }
111 111
 
112 112
     @Test
113
-    @Ignore
113
+    @Ignore("Remove to run test")
114 114
     public void canSliceByThreeWithDuplicateDigits() {
115 115
         Series sut = new Series("31001");
116 116
         List<List<Integer>> expected = Arrays.asList(
@@ -125,7 +125,7 @@ public class SeriesTest {
125 125
     }
126 126
 
127 127
     @Test
128
-    @Ignore
128
+    @Ignore("Remove to run test")
129 129
     public void canSliceByFour() {
130 130
         Series sut = new Series("91274");
131 131
         List<List<Integer>> expected = Arrays.asList(
@@ -139,7 +139,7 @@ public class SeriesTest {
139 139
     }
140 140
 
141 141
     @Test
142
-    @Ignore
142
+    @Ignore("Remove to run test")
143 143
     public void canSliceByFive() {
144 144
         Series sut = new Series("81228");
145 145
         List<List<Integer>> expected = Arrays.asList(
@@ -152,7 +152,7 @@ public class SeriesTest {
152 152
     }
153 153
 
154 154
     @Test
155
-    @Ignore
155
+    @Ignore("Remove to run test")
156 156
     public void throwsAnErrorIfNotEnoughDigitsToSlice() {
157 157
         thrown.expect(IllegalArgumentException.class);
158 158
         new Series("01032987583").slices(12);

+ 2
- 2
exercises/sieve/src/test/java/SieveTest.java Просмотреть файл

@@ -18,7 +18,7 @@ public class SieveTest {
18 18
         assertEquals(expectedOutput, sieve.getPrimes());
19 19
     }
20 20
 
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     @Test
23 23
     public void findPrimesUpTo10() {
24 24
         Sieve sieve = new Sieve(10);
@@ -27,7 +27,7 @@ public class SieveTest {
27 27
         assertEquals(expectedOutput, sieve.getPrimes());
28 28
     }
29 29
 
30
-    @Ignore
30
+    @Ignore("Remove to run test")
31 31
     @Test
32 32
     public void findPrimesUpTo1000() {
33 33
         Sieve sieve = new Sieve(1000);

+ 2
- 2
exercises/simple-cipher/src/test/java/SimpleCipherStepOneTest.java Просмотреть файл

@@ -25,14 +25,14 @@ public class SimpleCipherStepOneTest {
25 25
         assertEquals(cipherText, cipherWithDefaultKey.encode("aaaaaaaaaa"));
26 26
     }
27 27
 
28
-    @Ignore
28
+    @Ignore("Remove to run test")
29 29
     @Test
30 30
     public void cipherCanDecode() {
31 31
         String cipherText = "aaaaaaaaaa";
32 32
         assertEquals(cipherText, cipherWithDefaultKey.decode(cipherWithDefaultKey.getKey().substring(0, 10)));
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void cipherIsReversible() {
38 38
         String plainText = "abcdefghij";

+ 7
- 7
exercises/simple-cipher/src/test/java/SimpleCipherStepThreeTest.java Просмотреть файл

@@ -12,19 +12,19 @@ public class SimpleCipherStepThreeTest {
12 12
     @Rule
13 13
     public ExpectedException expectedException = ExpectedException.none();
14 14
 
15
-    @Ignore
15
+    @Ignore("Remove to run test")
16 16
     @Test
17 17
     public void cipherKeyIsMadeOfLetters() {
18 18
         assertTrue(new Cipher().getKey().matches("[a-z]+"));
19 19
     }
20 20
 
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     @Test
23 23
     public void defaultCipherKeyIs100Characters() {
24 24
         assertEquals(100, new Cipher().getKey().length());
25 25
     }
26 26
 
27
-    @Ignore
27
+    @Ignore("Remove to run test")
28 28
     @Test
29 29
     public void cipherKeysAreRandomlyGenerated() {
30 30
         String newKey = new Cipher().getKey();
@@ -33,28 +33,28 @@ public class SimpleCipherStepThreeTest {
33 33
                 "both returned key: " + newKey, newKey.equals(new Cipher().getKey()));
34 34
     }
35 35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37 37
     @Test
38 38
     public void cipherThrowsWithAllCapsKey() {
39 39
         expectedException.expect(IllegalArgumentException.class);
40 40
         new Cipher("ABCDEF");
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void cipherThrowsWithAnyCapsKey() {
46 46
         expectedException.expect(IllegalArgumentException.class);
47 47
         new Cipher("abcdEFg");
48 48
     }
49 49
 
50
-    @Ignore
50
+    @Ignore("Remove to run test")
51 51
     @Test
52 52
     public void cipherThrowsWithNumericKey() {
53 53
         expectedException.expect(IllegalArgumentException.class);
54 54
         new Cipher("12345");
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void cipherThrowsWithAnyNumericKey() {
60 60
         expectedException.expect(IllegalArgumentException.class);

+ 9
- 9
exercises/simple-cipher/src/test/java/SimpleCipherStepTwoTest.java Просмотреть файл

@@ -21,62 +21,62 @@ public class SimpleCipherStepTwoTest {
21 21
         cipherWithSetKey = new Cipher(key);
22 22
     }
23 23
 
24
-    @Ignore
24
+    @Ignore("Remove to run test")
25 25
     @Test
26 26
     public void cipherKeepsTheSubmittedKey() {
27 27
         assertEquals(key, cipherWithSetKey.getKey());
28 28
     }
29 29
 
30
-    @Ignore
30
+    @Ignore("Remove to run test")
31 31
     @Test
32 32
     public void cipherThrowsWithEmptyKey() {
33 33
         expectedException.expect(IllegalArgumentException.class);
34 34
         new Cipher("");
35 35
     }
36 36
 
37
-    @Ignore
37
+    @Ignore("Remove to run test")
38 38
     @Test
39 39
     public void cipherCanEncodeWithGivenKey() {
40 40
         String cipherText = "abcdefghij";
41 41
         assertEquals(cipherText, cipherWithSetKey.encode("aaaaaaaaaa"));
42 42
     }
43 43
 
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void cipherCanDecodeWithGivenKey() {
47 47
         String cipherText = "aaaaaaaaaa";
48 48
         assertEquals(cipherText, cipherWithSetKey.decode("abcdefghij"));
49 49
     }
50 50
 
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     @Test
53 53
     public void cipherIsReversibleGivenKey() {
54 54
         String plainText = "abcdefghij";
55 55
         assertEquals(plainText, cipherWithSetKey.decode(cipherWithSetKey.encode("abcdefghij")));
56 56
     }
57 57
 
58
-    @Ignore
58
+    @Ignore("Remove to run test")
59 59
     @Test
60 60
     public void cipherCanWrapEncode() {
61 61
         String cipherText = "zabcdefghi";
62 62
         assertEquals(cipherText, cipherWithSetKey.encode("zzzzzzzzzz"));
63 63
     }
64 64
 
65
-    @Ignore
65
+    @Ignore("Remove to run test")
66 66
     @Test
67 67
     public void cipherCanEncodeMessageThatIsShorterThanTheKey() {
68 68
         String cipherText = "abcde";
69 69
         assertEquals(cipherText, cipherWithSetKey.encode("aaaaa"));
70 70
     }
71 71
 
72
-    @Ignore
72
+    @Ignore("Remove to run test")
73 73
     @Test
74 74
     public void cipherCanDecodeMessageThatIsShorterThanTheKey() {
75 75
         String cipherText = "aaaaa";
76 76
         assertEquals(cipherText, cipherWithSetKey.decode("abcde"));
77 77
     }
78 78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     @Test
81 81
     public void cipherCanDoubleShiftEncode() {
82 82
         String plainText = "iamapandabear";

+ 16
- 16
exercises/sublist/src/test/java/RelationshipComputerTest.java Просмотреть файл

@@ -18,7 +18,7 @@ public class RelationshipComputerTest {
18 18
         assertEquals(Relationship.EQUAL, computedRelationship);
19 19
     }
20 20
 
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     @Test
23 23
     public void testEmptyListIsSublistOfNonEmptyList() {
24 24
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -28,7 +28,7 @@ public class RelationshipComputerTest {
28 28
         assertEquals(Relationship.SUBLIST, relationship);
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void testNonEmptyListIsSuperlistOfEmptyList() {
34 34
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -38,7 +38,7 @@ public class RelationshipComputerTest {
38 38
         assertEquals(Relationship.SUPERLIST, relationship);
39 39
     }
40 40
 
41
-    @Ignore
41
+    @Ignore("Remove to run test")
42 42
     @Test
43 43
     public void testListIsEqualToItself() {
44 44
         List<String> anyList = asList("1", "2", "3");
@@ -50,7 +50,7 @@ public class RelationshipComputerTest {
50 50
         assertEquals(Relationship.EQUAL, relationship);
51 51
     }
52 52
 
53
-    @Ignore
53
+    @Ignore("Remove to run test")
54 54
     @Test
55 55
     public void testDifferentListsOfTheSameLengthAreUnequal() {
56 56
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -60,7 +60,7 @@ public class RelationshipComputerTest {
60 60
         assertEquals(Relationship.UNEQUAL, relationship);
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void testSublistCheckDoesNotAbortAfterFalseStart() {
66 66
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -70,7 +70,7 @@ public class RelationshipComputerTest {
70 70
         assertEquals(Relationship.SUBLIST, relationship);
71 71
     }
72 72
 
73
-    @Ignore
73
+    @Ignore("Remove to run test")
74 74
     @Test
75 75
     public void testSublistCheckHandlesExtraneousRepeatsOfFirstEntry() {
76 76
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -80,7 +80,7 @@ public class RelationshipComputerTest {
80 80
         assertEquals(Relationship.SUBLIST, relationship);
81 81
     }
82 82
 
83
-    @Ignore
83
+    @Ignore("Remove to run test")
84 84
     @Test
85 85
     public void testSublistAtStart() {
86 86
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -90,7 +90,7 @@ public class RelationshipComputerTest {
90 90
         assertEquals(Relationship.SUBLIST, relationship);
91 91
     }
92 92
 
93
-    @Ignore
93
+    @Ignore("Remove to run test")
94 94
     @Test
95 95
     public void testSublistInMiddle() {
96 96
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -100,7 +100,7 @@ public class RelationshipComputerTest {
100 100
         assertEquals(Relationship.SUBLIST, relationship);
101 101
     }
102 102
 
103
-    @Ignore
103
+    @Ignore("Remove to run test")
104 104
     @Test
105 105
     public void testSublistAtEnd() {
106 106
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -110,7 +110,7 @@ public class RelationshipComputerTest {
110 110
         assertEquals(Relationship.SUBLIST, relationship);
111 111
     }
112 112
 
113
-    @Ignore
113
+    @Ignore("Remove to run test")
114 114
     @Test
115 115
     public void testAtStartOfSuperlist() {
116 116
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -120,7 +120,7 @@ public class RelationshipComputerTest {
120 120
         assertEquals(Relationship.SUPERLIST, relationship);
121 121
     }
122 122
 
123
-    @Ignore
123
+    @Ignore("Remove to run test")
124 124
     @Test
125 125
     public void testInMiddleOfSuperlist() {
126 126
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -130,7 +130,7 @@ public class RelationshipComputerTest {
130 130
         assertEquals(Relationship.SUPERLIST, relationship);
131 131
     }
132 132
 
133
-    @Ignore
133
+    @Ignore("Remove to run test")
134 134
     @Test
135 135
     public void testAtEndOfSuperlist() {
136 136
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -140,7 +140,7 @@ public class RelationshipComputerTest {
140 140
         assertEquals(Relationship.SUPERLIST, relationship);
141 141
     }
142 142
 
143
-    @Ignore
143
+    @Ignore("Remove to run test")
144 144
     @Test
145 145
     public void testFirstListMissingElementFromSecondList() {
146 146
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -150,7 +150,7 @@ public class RelationshipComputerTest {
150 150
         assertEquals(Relationship.UNEQUAL, relationship);
151 151
     }
152 152
 
153
-    @Ignore
153
+    @Ignore("Remove to run test")
154 154
     @Test
155 155
     public void testSecondListMissingElementFromFirstList() {
156 156
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -160,7 +160,7 @@ public class RelationshipComputerTest {
160 160
         assertEquals(Relationship.UNEQUAL, relationship);
161 161
     }
162 162
 
163
-    @Ignore
163
+    @Ignore("Remove to run test")
164 164
     @Test
165 165
     public void testThatListOrderingIsAccountedFor() {
166 166
         Relationship relationship = new RelationshipComputer<>().computeRelationship(
@@ -170,7 +170,7 @@ public class RelationshipComputerTest {
170 170
         assertEquals(Relationship.UNEQUAL, relationship);
171 171
     }
172 172
 
173
-    @Ignore
173
+    @Ignore("Remove to run test")
174 174
     @Test
175 175
     public void testThatListsWithSameDigitsButDifferentNumbersAreUnequal() {
176 176
         Relationship relationship = new RelationshipComputer<>().computeRelationship(

+ 11
- 11
exercises/sum-of-multiples/src/test/java/SumOfMultiplesTest.java Просмотреть файл

@@ -18,7 +18,7 @@ public class SumOfMultiplesTest {
18 18
     }
19 19
 
20 20
     @Test
21
-    @Ignore
21
+    @Ignore("Remove to run test")
22 22
     public void testSumOfMultiplesOf3and5UpToFour() {
23 23
 
24 24
         int[] set = {
@@ -31,7 +31,7 @@ public class SumOfMultiplesTest {
31 31
     }
32 32
 
33 33
     @Test
34
-    @Ignore
34
+    @Ignore("Remove to run test")
35 35
     public void testSumOfMultiplesOf3and5UpToTen() {
36 36
 
37 37
         int[] set = {
@@ -44,7 +44,7 @@ public class SumOfMultiplesTest {
44 44
     }
45 45
 
46 46
     @Test
47
-    @Ignore
47
+    @Ignore("Remove to run test")
48 48
     public void testSumOfMultiplesOf3and5UpToOneHundred() {
49 49
 
50 50
         int[] set = {
@@ -57,7 +57,7 @@ public class SumOfMultiplesTest {
57 57
     }
58 58
 
59 59
     @Test
60
-    @Ignore
60
+    @Ignore("Remove to run test")
61 61
     public void testSumOfMultiplesOf3and5UpToOneThousand() {
62 62
 
63 63
         int[] set = {
@@ -70,7 +70,7 @@ public class SumOfMultiplesTest {
70 70
     }
71 71
 
72 72
     @Test
73
-    @Ignore
73
+    @Ignore("Remove to run test")
74 74
     public void testSumOfMultiplesOf7and13and17UpToTwenty() {
75 75
 
76 76
         int[] set = {
@@ -84,7 +84,7 @@ public class SumOfMultiplesTest {
84 84
     }
85 85
 
86 86
     @Test
87
-    @Ignore
87
+    @Ignore("Remove to run test")
88 88
     public void testSumOfMultiplesOf4and6UpToFifteen() {
89 89
 
90 90
         int[] set = {
@@ -97,7 +97,7 @@ public class SumOfMultiplesTest {
97 97
     }
98 98
 
99 99
     @Test
100
-    @Ignore
100
+    @Ignore("Remove to run test")
101 101
     public void testSumOfMultiplesOf5and6and8UpToOneHundredFifty() {
102 102
 
103 103
         int[] set = {
@@ -111,7 +111,7 @@ public class SumOfMultiplesTest {
111 111
     }
112 112
 
113 113
     @Test
114
-    @Ignore
114
+    @Ignore("Remove to run test")
115 115
     public void testSumOfMultiplesOf5and25UpToTwoHundredSeventyFive() {
116 116
 
117 117
         int[] set = {
@@ -124,7 +124,7 @@ public class SumOfMultiplesTest {
124 124
     }
125 125
 
126 126
     @Test
127
-    @Ignore
127
+    @Ignore("Remove to run test")
128 128
     public void testSumOfMultiplesOf43and47UpToTenThousand() {
129 129
 
130 130
         int[] set = {
@@ -137,7 +137,7 @@ public class SumOfMultiplesTest {
137 137
     }
138 138
 
139 139
     @Test
140
-    @Ignore
140
+    @Ignore("Remove to run test")
141 141
     public void testSumOfMultiplesOfOneUpToOneHundred() {
142 142
 
143 143
         int[] set = {
@@ -149,7 +149,7 @@ public class SumOfMultiplesTest {
149 149
     }
150 150
 
151 151
     @Test
152
-    @Ignore
152
+    @Ignore("Remove to run test")
153 153
     public void testSumOfMultiplesOfNoneUpToTenThousand() {
154 154
 
155 155
         int[] set = {};

+ 14
- 14
exercises/triangle/src/test/java/TriangleTest.java Просмотреть файл

@@ -17,7 +17,7 @@ public class TriangleTest {
17 17
         assertEquals(TriangleKind.EQUILATERAL, triangle.getKind());
18 18
     }
19 19
 
20
-    @Ignore
20
+    @Ignore("Remove to run test")
21 21
     @Test
22 22
     public void largerEquilateralTrianglesAlsoHaveEqualSides() throws TriangleException {
23 23
         Triangle triangle = new Triangle(10, 10, 10);
@@ -25,7 +25,7 @@ public class TriangleTest {
25 25
         assertEquals(TriangleKind.EQUILATERAL, triangle.getKind());
26 26
     }
27 27
 
28
-    @Ignore
28
+    @Ignore("Remove to run test")
29 29
     @Test
30 30
     public void isoscelesTrianglesHaveLastTwoSidesEqual() throws TriangleException {
31 31
         Triangle triangle = new Triangle(3, 4, 4);
@@ -33,7 +33,7 @@ public class TriangleTest {
33 33
         assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
34 34
     }
35 35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37 37
     @Test
38 38
     public void isoscelesTrianglesHaveFirstAndLastSidesEqual() throws TriangleException {
39 39
         Triangle triangle = new Triangle(4, 3, 4);
@@ -41,7 +41,7 @@ public class TriangleTest {
41 41
         assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
42 42
     }
43 43
 
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void isoscelesTrianglesHaveTwoFirstSidesEqual() throws TriangleException {
47 47
         Triangle triangle = new Triangle(4, 4, 3);
@@ -49,7 +49,7 @@ public class TriangleTest {
49 49
         assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
50 50
     }
51 51
 
52
-    @Ignore
52
+    @Ignore("Remove to run test")
53 53
     @Test
54 54
     public void isoscelesTrianglesHaveInFactExactlyTwoSidesEqual() throws TriangleException {
55 55
         Triangle triangle = new Triangle(10, 10, 2);
@@ -57,7 +57,7 @@ public class TriangleTest {
57 57
         assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
58 58
     }
59 59
 
60
-    @Ignore
60
+    @Ignore("Remove to run test")
61 61
     @Test
62 62
     public void scaleneTrianglesHaveNoEqualSides() throws TriangleException {
63 63
         Triangle triangle = new Triangle(3, 4, 5);
@@ -65,7 +65,7 @@ public class TriangleTest {
65 65
         assertEquals(TriangleKind.SCALENE, triangle.getKind());
66 66
     }
67 67
 
68
-    @Ignore
68
+    @Ignore("Remove to run test")
69 69
     @Test
70 70
     public void scaleneTrianglesHaveNoEqualSidesAtLargerScaleEither() throws TriangleException {
71 71
         Triangle triangle = new Triangle(10, 11, 12);
@@ -73,7 +73,7 @@ public class TriangleTest {
73 73
         assertEquals(TriangleKind.SCALENE, triangle.getKind());
74 74
     }
75 75
 
76
-    @Ignore
76
+    @Ignore("Remove to run test")
77 77
     @Test
78 78
     public void scaleneTrianglesHaveNoEqualSidesInDescendingOrderEither() throws TriangleException {
79 79
         Triangle triangle = new Triangle(5, 4, 2);
@@ -81,7 +81,7 @@ public class TriangleTest {
81 81
         assertEquals(TriangleKind.SCALENE, triangle.getKind());
82 82
     }
83 83
 
84
-    @Ignore
84
+    @Ignore("Remove to run test")
85 85
     @Test
86 86
     public void verySmallTrianglesAreLegal() throws TriangleException {
87 87
         Triangle triangle = new Triangle(0.4, 0.6, 0.3);
@@ -89,35 +89,35 @@ public class TriangleTest {
89 89
         assertEquals(TriangleKind.SCALENE, triangle.getKind());
90 90
     }
91 91
 
92
-    @Ignore
92
+    @Ignore("Remove to run test")
93 93
     @Test
94 94
     public void trianglesWithNoSizeAreIllegal() throws TriangleException {
95 95
         thrown.expect(TriangleException.class);
96 96
         new Triangle(0, 0, 0);
97 97
     }
98 98
 
99
-    @Ignore
99
+    @Ignore("Remove to run test")
100 100
     @Test
101 101
     public void trianglesWithNegativeSidesAreIllegal() throws TriangleException {
102 102
         thrown.expect(TriangleException.class);
103 103
         new Triangle(3, 4, -5);
104 104
     }
105 105
 
106
-    @Ignore
106
+    @Ignore("Remove to run test")
107 107
     @Test
108 108
     public void trianglesViolatingTriangleInequalityAreIllegal() throws TriangleException {
109 109
         thrown.expect(TriangleException.class);
110 110
         new Triangle(1, 1, 3);
111 111
     }
112 112
 
113
-    @Ignore
113
+    @Ignore("Remove to run test")
114 114
     @Test
115 115
     public void trianglesViolatingTriangleInequalityAreIllegal2() throws TriangleException {
116 116
         thrown.expect(TriangleException.class);
117 117
         new Triangle(2, 4, 2);
118 118
     }
119 119
 
120
-    @Ignore
120
+    @Ignore("Remove to run test")
121 121
     @Test
122 122
     public void trianglesViolatingTriangleInequalityAreIllegal3() throws TriangleException {
123 123
         thrown.expect(TriangleException.class);

+ 13
- 13
exercises/twelve-days/src/test/java/TwelveDaysTest.java Просмотреть файл

@@ -19,7 +19,7 @@ public class TwelveDaysTest {
19 19
         assertEquals(expectedVerseOne, twelveDays.verse(1));
20 20
     }
21 21
 
22
-    @Ignore
22
+    @Ignore("Remove to run test")
23 23
     @Test
24 24
     public void testVerseTwo() {
25 25
         String expectedVerseTwo = "On the second day of Christmas my true love gave to me, two Turtle Doves, " +
@@ -27,7 +27,7 @@ public class TwelveDaysTest {
27 27
         assertEquals(expectedVerseTwo, twelveDays.verse(2));
28 28
     }
29 29
 
30
-    @Ignore
30
+    @Ignore("Remove to run test")
31 31
     @Test
32 32
     public void testVerseThree() {
33 33
         String expectedVerseThree = "On the third day of Christmas my true love gave to me, three French Hens, " +
@@ -35,7 +35,7 @@ public class TwelveDaysTest {
35 35
         assertEquals(expectedVerseThree, twelveDays.verse(3));
36 36
     }
37 37
 
38
-    @Ignore
38
+    @Ignore("Remove to run test")
39 39
     @Test
40 40
     public void testVerseFour() {
41 41
         String expectedVerseFour = "On the fourth day of Christmas my true love gave to me, four Calling Birds, " +
@@ -43,7 +43,7 @@ public class TwelveDaysTest {
43 43
         assertEquals(expectedVerseFour, twelveDays.verse(4));
44 44
     }
45 45
 
46
-    @Ignore
46
+    @Ignore("Remove to run test")
47 47
     @Test
48 48
     public void testVerseFive() {
49 49
         String expectedVerseFive = "On the fifth day of Christmas my true love gave to me, five Gold Rings, " +
@@ -51,7 +51,7 @@ public class TwelveDaysTest {
51 51
         assertEquals(expectedVerseFive, twelveDays.verse(5));
52 52
     }
53 53
 
54
-    @Ignore
54
+    @Ignore("Remove to run test")
55 55
     @Test
56 56
     public void testVerseSix() {
57 57
         String expectedVerseSix = "On the sixth day of Christmas my true love gave to me, six Geese-a-Laying, " +
@@ -60,7 +60,7 @@ public class TwelveDaysTest {
60 60
         assertEquals(expectedVerseSix, twelveDays.verse(6));
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void testVerseSeven() {
66 66
         String expectedVerseSeven = "On the seventh day of Christmas my true love gave to me, " +
@@ -69,7 +69,7 @@ public class TwelveDaysTest {
69 69
         assertEquals(expectedVerseSeven, twelveDays.verse(7));
70 70
     }
71 71
 
72
-    @Ignore
72
+    @Ignore("Remove to run test")
73 73
     @Test
74 74
     public void testVerseEight() {
75 75
         String expectedVerseEight = "On the eighth day of Christmas my true love gave to me, eight Maids-a-Milking," +
@@ -78,7 +78,7 @@ public class TwelveDaysTest {
78 78
         assertEquals(expectedVerseEight, twelveDays.verse(8));
79 79
     }
80 80
 
81
-    @Ignore
81
+    @Ignore("Remove to run test")
82 82
     @Test
83 83
     public void testVerseNine() {
84 84
         String expectedVerseNine = "On the ninth day of Christmas my true love gave to me, nine Ladies Dancing, " +
@@ -87,7 +87,7 @@ public class TwelveDaysTest {
87 87
         assertEquals(expectedVerseNine, twelveDays.verse(9));
88 88
     }
89 89
 
90
-    @Ignore
90
+    @Ignore("Remove to run test")
91 91
     @Test
92 92
     public void testVerseTen() {
93 93
         String expectedVerseTen = "On the tenth day of Christmas my true love gave to me, ten Lords-a-Leaping, " +
@@ -97,7 +97,7 @@ public class TwelveDaysTest {
97 97
         assertEquals(expectedVerseTen, twelveDays.verse(10));
98 98
     }
99 99
 
100
-    @Ignore
100
+    @Ignore("Remove to run test")
101 101
     @Test
102 102
     public void testVerseEleven() {
103 103
         String expectedVerseEleven = "On the eleventh day of Christmas my true love gave to me, " +
@@ -107,7 +107,7 @@ public class TwelveDaysTest {
107 107
         assertEquals(expectedVerseEleven, twelveDays.verse(11));
108 108
     }
109 109
 
110
-    @Ignore
110
+    @Ignore("Remove to run test")
111 111
     @Test
112 112
     public void testVerseTwelve() {
113 113
         String expectedVerseTwelve = "On the twelfth day of Christmas my true love gave to me, " +
@@ -117,7 +117,7 @@ public class TwelveDaysTest {
117 117
         assertEquals(expectedVerseTwelve, twelveDays.verse(12));
118 118
     }
119 119
 
120
-    @Ignore
120
+    @Ignore("Remove to run test")
121 121
     @Test
122 122
     public void testMultipleVerses() {
123 123
         String expectedVerseOneToThree = "On the first day of Christmas my true love gave to me, " +
@@ -129,7 +129,7 @@ public class TwelveDaysTest {
129 129
         assertEquals(expectedVerseOneToThree, twelveDays.verses(1, 3));
130 130
     }
131 131
 
132
-    @Ignore
132
+    @Ignore("Remove to run test")
133 133
     @Test
134 134
     public void testSingWholeSong() {
135 135
         String expectedSong = "On the first day of Christmas my true love gave to me, a Partridge in a Pear Tree.\n" +

+ 5
- 5
exercises/word-count/src/test/java/WordCountTest.java Просмотреть файл

@@ -32,7 +32,7 @@ public class WordCountTest {
32 32
         );
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void countOneOfEach() {
38 38
         expectedWordCount.put("one", 1);
@@ -45,7 +45,7 @@ public class WordCountTest {
45 45
         );
46 46
     }
47 47
 
48
-    @Ignore
48
+    @Ignore("Remove to run test")
49 49
     @Test
50 50
     public void countMultipleOccurences() {
51 51
         expectedWordCount.put("one", 1);
@@ -60,7 +60,7 @@ public class WordCountTest {
60 60
         );
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void ignorePunctuation() {
66 66
         expectedWordCount.put("car", 1);
@@ -76,7 +76,7 @@ public class WordCountTest {
76 76
 
77 77
     }
78 78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     @Test
81 81
     public void includeNumbers() {
82 82
         expectedWordCount.put("testing", 2);
@@ -89,7 +89,7 @@ public class WordCountTest {
89 89
         );
90 90
     }
91 91
 
92
-    @Ignore
92
+    @Ignore("Remove to run test")
93 93
     @Test
94 94
     public void normalizeCase() {
95 95
         expectedWordCount.put("go", 3);

+ 15
- 15
exercises/wordy/src/test/java/WordProblemSolverTest.java Просмотреть файл

@@ -27,85 +27,85 @@ public final class WordProblemSolverTest {
27 27
         assertEquals(2, solver.solve("What is 1 plus 1?"));
28 28
     }
29 29
 
30
-    @Ignore
30
+    @Ignore("Remove to run test")
31 31
     @Test
32 32
     public void testSingleAddition2() {
33 33
         assertEquals(55, solver.solve("What is 53 plus 2?"));
34 34
     }
35 35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37 37
     @Test
38 38
     public void testSingleAdditionWithNegativeNumbers() {
39 39
         assertEquals(-11, solver.solve("What is -1 plus -10?"));
40 40
     }
41 41
 
42
-    @Ignore
42
+    @Ignore("Remove to run test")
43 43
     @Test
44 44
     public void testSingleAdditionOfLargeNumbers() {
45 45
         assertEquals(45801, solver.solve("What is 123 plus 45678?"));
46 46
     }
47 47
 
48
-    @Ignore
48
+    @Ignore("Remove to run test")
49 49
     @Test
50 50
     public void testSingleSubtraction() {
51 51
         assertEquals(16, solver.solve("What is 4 minus -12?"));
52 52
     }
53 53
 
54
-    @Ignore
54
+    @Ignore("Remove to run test")
55 55
     @Test
56 56
     public void testSingleMultiplication() {
57 57
         assertEquals(-75, solver.solve("What is -3 multiplied by 25?"));
58 58
     }
59 59
 
60
-    @Ignore
60
+    @Ignore("Remove to run test")
61 61
     @Test
62 62
     public void testSingleDivision() {
63 63
         assertEquals(-11, solver.solve("What is 33 divided by -3?"));
64 64
     }
65 65
 
66
-    @Ignore
66
+    @Ignore("Remove to run test")
67 67
     @Test
68 68
     public void testMultipleAdditions() {
69 69
         assertEquals(3, solver.solve("What is 1 plus 1 plus 1?"));
70 70
     }
71 71
 
72
-    @Ignore
72
+    @Ignore("Remove to run test")
73 73
     @Test
74 74
     public void testAdditionThenSubtraction() {
75 75
         assertEquals(8, solver.solve("What is 1 plus 5 minus -2?"));
76 76
     }
77 77
 
78
-    @Ignore
78
+    @Ignore("Remove to run test")
79 79
     @Test
80 80
     public void testMultipleSubtractions() {
81 81
         assertEquals(3, solver.solve("What is 20 minus 4 minus 13?"));
82 82
     }
83 83
 
84
-    @Ignore
84
+    @Ignore("Remove to run test")
85 85
     @Test
86 86
     public void testSubtractionThenAddition() {
87 87
         assertEquals(14, solver.solve("What is 17 minus 6 plus 3?"));
88 88
     }
89 89
 
90
-    @Ignore
90
+    @Ignore("Remove to run test")
91 91
     @Test
92 92
     public void testMultipleMultiplications() {
93 93
         assertEquals(-12, solver.solve("What is 2 multiplied by -2 multiplied by 3?"));
94 94
     }
95 95
 
96
-    @Ignore
96
+    @Ignore("Remove to run test")
97 97
     @Test
98 98
     public void testAdditionThenMultiplication() {
99 99
         assertEquals(-8, solver.solve("What is -3 plus 7 multiplied by -2?"));
100 100
     }
101 101
 
102
-    @Ignore
102
+    @Ignore("Remove to run test")
103 103
     @Test
104 104
     public void testMultipleDivisions() {
105 105
         assertEquals(2, solver.solve("What is -12 divided by 2 divided by -3?"));
106 106
     }
107 107
 
108
-    @Ignore
108
+    @Ignore("Remove to run test")
109 109
     @Test
110 110
     public void testUnknownOperation() {
111 111
         expectedException.expect(IllegalArgumentException.class);
@@ -114,7 +114,7 @@ public final class WordProblemSolverTest {
114 114
         solver.solve("What is 52 cubed?");
115 115
     }
116 116
 
117
-    @Ignore
117
+    @Ignore("Remove to run test")
118 118
     @Test
119 119
     public void testInvalidQuestionFormat() {
120 120
         expectedException.expect(IllegalArgumentException.class);