Selaa lähdekoodia

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

Logan Stucki 9 vuotta sitten
vanhempi
commit
c65693b74a
40 muutettua tiedostoa jossa 476 lisäystä ja 476 poistoa
  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 Näytä tiedosto

94
         List<Integer> treeData = Collections.unmodifiableList(
94
         List<Integer> treeData = Collections.unmodifiableList(
95
                 Arrays.asList(4, 2, 6, 1, 3, 7, 5)
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
         List<Integer> actual = sut.getAsLevelOrderList();
99
         List<Integer> actual = sut.getAsLevelOrderList();
100
         assertEquals(expected, actual);
100
         assertEquals(expected, actual);
155
         List<Integer> treeData = Collections.unmodifiableList(
155
         List<Integer> treeData = Collections.unmodifiableList(
156
                 Arrays.asList(4, 2, 1, 3, 6, 7, 5)
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
         List<Integer> actual = sut.getAsSortedList();
160
         List<Integer> actual = sut.getAsSortedList();
161
         assertEquals(expected, actual);
161
         assertEquals(expected, actual);

+ 8
- 8
exercises/change/src/test/java/ChangeCalculatorTest.java Näytä tiedosto

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

+ 16
- 16
exercises/clock/src/test/java/ClockAddTest.java Näytä tiedosto

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

+ 18
- 18
exercises/clock/src/test/java/ClockCreationTest.java Näytä tiedosto

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

+ 15
- 15
exercises/clock/src/test/java/ClockEqualTest.java Näytä tiedosto

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

+ 36
- 36
exercises/custom-set/src/test/java/CustomSetTest.java Näytä tiedosto

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

+ 4
- 4
exercises/diamond/src/test/java/DiamondPrinterTest.java Näytä tiedosto

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

+ 3
- 3
exercises/etl/src/test/java/EtlTest.java Näytä tiedosto

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

+ 5
- 5
exercises/flatten-array/src/test/java/FlattenerTest.java Näytä tiedosto

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

+ 7
- 7
exercises/grade-school/src/test/java/SchoolTest.java Näytä tiedosto

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

+ 8
- 8
exercises/hamming/src/test/java/HammingTest.java Näytä tiedosto

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

+ 9
- 9
exercises/isogram/src/test/java/IsogramCheckerTest.java Näytä tiedosto

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

+ 17
- 17
exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java Näytä tiedosto

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

+ 4
- 4
exercises/linked-list/src/test/java/DoublyLinkedListTest.java Näytä tiedosto

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

+ 19
- 19
exercises/list-ops/src/test/java/ListOpsTest.java Näytä tiedosto

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

+ 12
- 12
exercises/luhn/src/test/java/LuhnValidatorTest.java Näytä tiedosto

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

+ 5
- 5
exercises/matrix/src/test/java/MatrixTest.java Näytä tiedosto

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

+ 90
- 90
exercises/meetup/src/test/java/MeetupTest.java Näytä tiedosto

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

+ 14
- 14
exercises/minesweeper/src/test/java/MinesweeperBoardTest.java Näytä tiedosto

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

+ 4
- 4
exercises/nth-prime/src/test/java/PrimeCalculatorTest.java Näytä tiedosto

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

+ 8
- 8
exercises/nucleotide-count/src/test/java/NucleotideTest.java Näytä tiedosto

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

+ 4
- 4
exercises/palindrome-products/src/test/java/PalindromeCalculatorTest.java Näytä tiedosto

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

+ 5
- 5
exercises/pascals-triangle/src/test/java/PascalsTriangleGeneratorTest.java Näytä tiedosto

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

+ 9
- 9
exercises/phone-number/src/test/java/PhoneNumberTest.java Näytä tiedosto

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

+ 6
- 6
exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java Näytä tiedosto

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

+ 12
- 12
exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java Näytä tiedosto

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

+ 11
- 11
exercises/rectangles/src/test/java/RectangleCounterTest.java Näytä tiedosto

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

+ 2
- 2
exercises/robot-name/src/test/java/RobotTest.java Näytä tiedosto

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

+ 19
- 19
exercises/robot-simulator/src/test/java/RobotTest.java Näytä tiedosto

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

+ 10
- 10
exercises/series/src/test/java/SeriesTest.java Näytä tiedosto

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

+ 2
- 2
exercises/sieve/src/test/java/SieveTest.java Näytä tiedosto

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

+ 2
- 2
exercises/simple-cipher/src/test/java/SimpleCipherStepOneTest.java Näytä tiedosto

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

+ 7
- 7
exercises/simple-cipher/src/test/java/SimpleCipherStepThreeTest.java Näytä tiedosto

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

+ 9
- 9
exercises/simple-cipher/src/test/java/SimpleCipherStepTwoTest.java Näytä tiedosto

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

+ 16
- 16
exercises/sublist/src/test/java/RelationshipComputerTest.java Näytä tiedosto

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

+ 11
- 11
exercises/sum-of-multiples/src/test/java/SumOfMultiplesTest.java Näytä tiedosto

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

+ 14
- 14
exercises/triangle/src/test/java/TriangleTest.java Näytä tiedosto

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

+ 13
- 13
exercises/twelve-days/src/test/java/TwelveDaysTest.java Näytä tiedosto

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

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

+ 15
- 15
exercises/wordy/src/test/java/WordProblemSolverTest.java Näytä tiedosto

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