trackler 2.1.0.8 → 2.1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +3 -0
  3. data/lib/trackler/version.rb +1 -1
  4. data/tracks/coq/.git +1 -0
  5. data/tracks/coq/.github/PULL_REQUEST_TEMPLATE.md +23 -0
  6. data/tracks/coq/.gitignore +4 -0
  7. data/tracks/coq/.travis.yml +5 -0
  8. data/tracks/coq/LICENSE +21 -0
  9. data/tracks/coq/README.md +84 -0
  10. data/tracks/coq/bin/fetch-configlet +32 -0
  11. data/tracks/coq/config.json +21 -0
  12. data/tracks/coq/docs/ABOUT.md +0 -0
  13. data/tracks/coq/docs/INSTALLATION.md +0 -0
  14. data/tracks/coq/docs/LEARNING.md +0 -0
  15. data/tracks/coq/docs/RESOURCES.md +0 -0
  16. data/tracks/coq/docs/TESTS.md +0 -0
  17. data/tracks/coq/exercises/TRACK_HINTS.md +0 -0
  18. data/tracks/coq/img/.keep +0 -0
  19. data/tracks/cpp/docs/INSTALLATION.md +1 -0
  20. data/tracks/go/exercises/phone-number/.meta/gen.go +82 -0
  21. data/tracks/go/exercises/phone-number/cases_test.go +91 -0
  22. data/tracks/go/exercises/phone-number/example.go +20 -18
  23. data/tracks/go/exercises/phone-number/phone_number_test.go +17 -52
  24. data/tracks/go/exercises/scrabble-score/.meta/gen.go +45 -0
  25. data/tracks/go/exercises/scrabble-score/cases_test.go +24 -0
  26. data/tracks/go/exercises/scrabble-score/example.go +1 -1
  27. data/tracks/go/exercises/scrabble-score/scrabble_score_test.go +3 -17
  28. data/tracks/java/exercises/binary-search-tree/src/test/java/BSTTest.java +2 -2
  29. data/tracks/java/exercises/change/src/test/java/ChangeCalculatorTest.java +8 -8
  30. data/tracks/java/exercises/clock/src/test/java/ClockAddTest.java +16 -16
  31. data/tracks/java/exercises/clock/src/test/java/ClockCreationTest.java +18 -18
  32. data/tracks/java/exercises/clock/src/test/java/ClockEqualTest.java +15 -15
  33. data/tracks/java/exercises/custom-set/src/test/java/CustomSetTest.java +36 -36
  34. data/tracks/java/exercises/diamond/src/test/java/DiamondPrinterTest.java +4 -4
  35. data/tracks/java/exercises/etl/src/test/java/EtlTest.java +3 -3
  36. data/tracks/java/exercises/flatten-array/src/test/java/FlattenerTest.java +5 -5
  37. data/tracks/java/exercises/grade-school/src/test/java/SchoolTest.java +7 -7
  38. data/tracks/java/exercises/hamming/src/test/java/HammingTest.java +8 -8
  39. data/tracks/java/exercises/isogram/src/test/java/IsogramCheckerTest.java +9 -9
  40. data/tracks/java/exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java +17 -17
  41. data/tracks/java/exercises/linked-list/src/test/java/DoublyLinkedListTest.java +4 -4
  42. data/tracks/java/exercises/list-ops/src/test/java/ListOpsTest.java +19 -19
  43. data/tracks/java/exercises/luhn/src/test/java/LuhnValidatorTest.java +12 -12
  44. data/tracks/java/exercises/matrix/src/test/java/MatrixTest.java +5 -5
  45. data/tracks/java/exercises/meetup/src/test/java/MeetupTest.java +90 -90
  46. data/tracks/java/exercises/minesweeper/src/test/java/MinesweeperBoardTest.java +14 -14
  47. data/tracks/java/exercises/nth-prime/src/test/java/PrimeCalculatorTest.java +4 -4
  48. data/tracks/java/exercises/nucleotide-count/src/test/java/NucleotideTest.java +8 -8
  49. data/tracks/java/exercises/palindrome-products/src/test/java/PalindromeCalculatorTest.java +4 -4
  50. data/tracks/java/exercises/pascals-triangle/src/test/java/PascalsTriangleGeneratorTest.java +5 -5
  51. data/tracks/java/exercises/phone-number/src/test/java/PhoneNumberTest.java +9 -9
  52. data/tracks/java/exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java +6 -6
  53. data/tracks/java/exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java +12 -12
  54. data/tracks/java/exercises/rectangles/src/test/java/RectangleCounterTest.java +11 -11
  55. data/tracks/java/exercises/robot-name/src/test/java/RobotTest.java +2 -2
  56. data/tracks/java/exercises/robot-simulator/src/test/java/RobotTest.java +19 -19
  57. data/tracks/java/exercises/series/src/test/java/SeriesTest.java +10 -10
  58. data/tracks/java/exercises/sieve/src/test/java/SieveTest.java +2 -2
  59. data/tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepOneTest.java +2 -2
  60. data/tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepThreeTest.java +7 -7
  61. data/tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepTwoTest.java +9 -9
  62. data/tracks/java/exercises/sublist/src/test/java/RelationshipComputerTest.java +16 -16
  63. data/tracks/java/exercises/sum-of-multiples/src/test/java/SumOfMultiplesTest.java +11 -11
  64. data/tracks/java/exercises/triangle/src/test/java/TriangleTest.java +14 -14
  65. data/tracks/java/exercises/twelve-days/src/test/java/TwelveDaysTest.java +13 -13
  66. data/tracks/java/exercises/word-count/src/test/java/WordCountTest.java +5 -5
  67. data/tracks/java/exercises/wordy/src/test/java/WordProblemSolverTest.java +15 -15
  68. data/tracks/perl6/.travis.yml +4 -8
  69. metadata +21 -2
@@ -28,7 +28,7 @@ public final class MinesweeperBoardTest {
28
28
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
29
29
  }
30
30
 
31
- @Ignore
31
+ @Ignore("Remove to run test")
32
32
  @Test
33
33
  public void testInputBoardWithOneRowAndNoColumns() {
34
34
  final List<String> inputBoard = Collections.singletonList("");
@@ -39,7 +39,7 @@ public final class MinesweeperBoardTest {
39
39
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
40
40
  }
41
41
 
42
- @Ignore
42
+ @Ignore("Remove to run test")
43
43
  @Test
44
44
  public void testInputBoardWithNoMines() {
45
45
  final List<String> inputBoard = Arrays.asList(
@@ -60,7 +60,7 @@ public final class MinesweeperBoardTest {
60
60
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
61
61
  }
62
62
 
63
- @Ignore
63
+ @Ignore("Remove to run test")
64
64
  @Test
65
65
  public void testInputBoardWithOnlyMines() {
66
66
  final List<String> inputBoard = Arrays.asList(
@@ -81,7 +81,7 @@ public final class MinesweeperBoardTest {
81
81
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
82
82
  }
83
83
 
84
- @Ignore
84
+ @Ignore("Remove to run test")
85
85
  @Test
86
86
  public void testInputBoardWithSingleMineAtCenter() {
87
87
  final List<String> inputBoard = Arrays.asList(
@@ -102,7 +102,7 @@ public final class MinesweeperBoardTest {
102
102
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
103
103
  }
104
104
 
105
- @Ignore
105
+ @Ignore("Remove to run test")
106
106
  @Test
107
107
  public void testInputBoardWithMinesAroundPerimeter() {
108
108
  final List<String> inputBoard = Arrays.asList(
@@ -123,7 +123,7 @@ public final class MinesweeperBoardTest {
123
123
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
124
124
  }
125
125
 
126
- @Ignore
126
+ @Ignore("Remove to run test")
127
127
  @Test
128
128
  public void testInputBoardWithSingleRowAndTwoMines() {
129
129
  final List<String> inputBoard = Collections.singletonList(
@@ -140,7 +140,7 @@ public final class MinesweeperBoardTest {
140
140
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
141
141
  }
142
142
 
143
- @Ignore
143
+ @Ignore("Remove to run test")
144
144
  @Test
145
145
  public void testInputBoardWithSingleRowAndTwoMinesAtEdges() {
146
146
  final List<String> inputBoard = Collections.singletonList(
@@ -157,7 +157,7 @@ public final class MinesweeperBoardTest {
157
157
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
158
158
  }
159
159
 
160
- @Ignore
160
+ @Ignore("Remove to run test")
161
161
  @Test
162
162
  public void testInputBoardWithSingleColumnAndTwoMines() {
163
163
  final List<String> inputBoard = Arrays.asList(
@@ -182,7 +182,7 @@ public final class MinesweeperBoardTest {
182
182
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
183
183
  }
184
184
 
185
- @Ignore
185
+ @Ignore("Remove to run test")
186
186
  @Test
187
187
  public void testInputBoardWithSingleColumnAndTwoMinesAtEdges() {
188
188
  final List<String> inputBoard = Arrays.asList(
@@ -207,7 +207,7 @@ public final class MinesweeperBoardTest {
207
207
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
208
208
  }
209
209
 
210
- @Ignore
210
+ @Ignore("Remove to run test")
211
211
  @Test
212
212
  public void testInputBoardWithMinesInCross() {
213
213
  final List<String> inputBoard = Arrays.asList(
@@ -232,7 +232,7 @@ public final class MinesweeperBoardTest {
232
232
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
233
233
  }
234
234
 
235
- @Ignore
235
+ @Ignore("Remove to run test")
236
236
  @Test
237
237
  public void testLargeInputBoard() {
238
238
  final List<String> inputBoard = Arrays.asList(
@@ -259,7 +259,7 @@ public final class MinesweeperBoardTest {
259
259
  assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
260
260
  }
261
261
 
262
- @Ignore
262
+ @Ignore("Remove to run test")
263
263
  @Test
264
264
  public void testNullInputBoardIsRejected() {
265
265
  expectedException.expect(IllegalArgumentException.class);
@@ -268,7 +268,7 @@ public final class MinesweeperBoardTest {
268
268
  new MinesweeperBoard(null);
269
269
  }
270
270
 
271
- @Ignore
271
+ @Ignore("Remove to run test")
272
272
  @Test
273
273
  public void testInputBoardWithInvalidSymbolsIsRejected() {
274
274
  expectedException.expect(IllegalArgumentException.class);
@@ -277,7 +277,7 @@ public final class MinesweeperBoardTest {
277
277
  new MinesweeperBoard(Collections.singletonList(" * & "));
278
278
  }
279
279
 
280
- @Ignore
280
+ @Ignore("Remove to run test")
281
281
  @Test
282
282
  public void testInputBoardWithInconsistentRowLengthsIsRejected() {
283
283
  expectedException.expect(IllegalArgumentException.class);
@@ -23,25 +23,25 @@ public class PrimeCalculatorTest {
23
23
  assertThat(primeCalculator.nth(1), is(2));
24
24
  }
25
25
 
26
- @Ignore
26
+ @Ignore("Remove to run test")
27
27
  @Test
28
28
  public void testSecondPrime() {
29
29
  assertThat(primeCalculator.nth(2), is(3));
30
30
  }
31
31
 
32
- @Ignore
32
+ @Ignore("Remove to run test")
33
33
  @Test
34
34
  public void testSixthPrime() {
35
35
  assertThat(primeCalculator.nth(6), is(13));
36
36
  }
37
37
 
38
- @Ignore
38
+ @Ignore("Remove to run test")
39
39
  @Test
40
40
  public void testBigPrime() {
41
41
  assertThat(primeCalculator.nth(10001), is(104743));
42
42
  }
43
43
 
44
- @Ignore
44
+ @Ignore("Remove to run test")
45
45
  @Test
46
46
  public void testUndefinedPrime() {
47
47
  thrown.expect(IllegalArgumentException.class);
@@ -19,7 +19,7 @@ public class NucleotideTest {
19
19
  assertThat(dna.count('A'), is(0));
20
20
  }
21
21
 
22
- @Ignore
22
+ @Ignore("Remove to run test")
23
23
  @Test
24
24
  public void testEmptyDnaStringHasNoNucleotides() {
25
25
  DNA dna = new DNA("");
@@ -33,14 +33,14 @@ public class NucleotideTest {
33
33
  ));
34
34
  }
35
35
 
36
- @Ignore
36
+ @Ignore("Remove to run test")
37
37
  @Test
38
38
  public void testRepetitiveCytosineGetsCounted() {
39
39
  DNA dna = new DNA("CCCCC");
40
40
  assertThat(dna.count('C'), is(5));
41
41
  }
42
42
 
43
- @Ignore
43
+ @Ignore("Remove to run test")
44
44
  @Test
45
45
  public void testRepetitiveSequenceWithOnlyGuanine() {
46
46
  DNA dna = new DNA("GGGGGGGG");
@@ -54,14 +54,14 @@ public class NucleotideTest {
54
54
  ));
55
55
  }
56
56
 
57
- @Ignore
57
+ @Ignore("Remove to run test")
58
58
  @Test
59
59
  public void testCountsOnlyThymine() {
60
60
  DNA dna = new DNA("GGGGGTAACCCGG");
61
61
  assertThat(dna.count('T'), is(1));
62
62
  }
63
63
 
64
- @Ignore
64
+ @Ignore("Remove to run test")
65
65
  @Test
66
66
  public void testCountsANucleotideOnlyOnce() {
67
67
  DNA dna = new DNA("CGATTGGG");
@@ -69,7 +69,7 @@ public class NucleotideTest {
69
69
  assertThat(dna.count('T'), is(2));
70
70
  }
71
71
 
72
- @Ignore
72
+ @Ignore("Remove to run test")
73
73
  @Test
74
74
  public void testDnaCountsDoNotChangeAfterCountingAdenine() {
75
75
  DNA dna = new DNA("GATTACA");
@@ -84,7 +84,7 @@ public class NucleotideTest {
84
84
  ));
85
85
  }
86
86
 
87
- @Ignore
87
+ @Ignore("Remove to run test")
88
88
  @Test
89
89
  public void testValidatesNucleotides() {
90
90
  thrown.expect(IllegalArgumentException.class);
@@ -92,7 +92,7 @@ public class NucleotideTest {
92
92
  dna.count('X');
93
93
  }
94
94
 
95
- @Ignore
95
+ @Ignore("Remove to run test")
96
96
  @Test
97
97
  public void testCountsAllNucleotides() {
98
98
  String s = "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC";
@@ -34,7 +34,7 @@ public class PalindromeCalculatorTest {
34
34
  }
35
35
 
36
36
  @Test
37
- @Ignore
37
+ @Ignore("Remove to run test")
38
38
  public void largestPalindromeFromDoubleDigitFactors() {
39
39
  final List<List<Integer>> expected = Collections.unmodifiableList(
40
40
  Arrays.asList(
@@ -49,7 +49,7 @@ public class PalindromeCalculatorTest {
49
49
  }
50
50
 
51
51
  @Test
52
- @Ignore
52
+ @Ignore("Remove to run test")
53
53
  public void smallestPalindromeFromDoubleDigitFactors() {
54
54
  final List<List<Integer>> expected = Collections.unmodifiableList(
55
55
  Arrays.asList(
@@ -64,7 +64,7 @@ public class PalindromeCalculatorTest {
64
64
  }
65
65
 
66
66
  @Test
67
- @Ignore
67
+ @Ignore("Remove to run test")
68
68
  public void largestPalindromeFromTripleDigitFactors() {
69
69
  final List<List<Integer>> expected = Collections.unmodifiableList(
70
70
  Arrays.asList(
@@ -79,7 +79,7 @@ public class PalindromeCalculatorTest {
79
79
  }
80
80
 
81
81
  @Test
82
- @Ignore
82
+ @Ignore("Remove to run test")
83
83
  public void smallestPalindromeFromTripleDigitFactors() {
84
84
  final List<List<Integer>> expected = Collections.unmodifiableList(
85
85
  Arrays.asList(
@@ -30,7 +30,7 @@ public class PascalsTriangleGeneratorTest {
30
30
  assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(0));
31
31
  }
32
32
 
33
- @Ignore
33
+ @Ignore("Remove to run test")
34
34
  @Test
35
35
  public void testTriangleWithOneRow() {
36
36
  int[][] expectedOutput = new int[][]{
@@ -40,7 +40,7 @@ public class PascalsTriangleGeneratorTest {
40
40
  assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(1));
41
41
  }
42
42
 
43
- @Ignore
43
+ @Ignore("Remove to run test")
44
44
  @Test
45
45
  public void testTriangleWithTwoRows() {
46
46
  int[][] expectedOutput = new int[][]{
@@ -51,7 +51,7 @@ public class PascalsTriangleGeneratorTest {
51
51
  assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(2));
52
52
  }
53
53
 
54
- @Ignore
54
+ @Ignore("Remove to run test")
55
55
  @Test
56
56
  public void testTriangleWithThreeRows() {
57
57
  int[][] expectedOutput = new int[][]{
@@ -63,7 +63,7 @@ public class PascalsTriangleGeneratorTest {
63
63
  assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(3));
64
64
  }
65
65
 
66
- @Ignore
66
+ @Ignore("Remove to run test")
67
67
  @Test
68
68
  public void testTriangleWithFourRows() {
69
69
  int[][] expectedOutput = new int[][]{
@@ -76,7 +76,7 @@ public class PascalsTriangleGeneratorTest {
76
76
  assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(4));
77
77
  }
78
78
 
79
- @Ignore
79
+ @Ignore("Remove to run test")
80
80
  @Test
81
81
  public void testValidatesNotNegativeRows() {
82
82
  thrown.expect(IllegalArgumentException.class);
@@ -25,7 +25,7 @@ public class PhoneNumberTest {
25
25
  );
26
26
  }
27
27
 
28
- @Ignore
28
+ @Ignore("Remove to run test")
29
29
  @Test
30
30
  public void cleansNumberWithDots() {
31
31
  final String expectedNumber = "1234567890";
@@ -36,7 +36,7 @@ public class PhoneNumberTest {
36
36
  );
37
37
  }
38
38
 
39
- @Ignore
39
+ @Ignore("Remove to run test")
40
40
  @Test
41
41
  public void cleansNumberWithMultipleSpaces() {
42
42
  final String expectedNumber = "1234567890";
@@ -47,7 +47,7 @@ public class PhoneNumberTest {
47
47
  );
48
48
  }
49
49
 
50
- @Ignore
50
+ @Ignore("Remove to run test")
51
51
  @Test
52
52
  public void invalidWhen9Digits() {
53
53
  expectedException.expect(IllegalArgumentException.class);
@@ -55,7 +55,7 @@ public class PhoneNumberTest {
55
55
  new PhoneNumber("123456789");
56
56
  }
57
57
 
58
- @Ignore
58
+ @Ignore("Remove to run test")
59
59
  @Test
60
60
  public void invalidWhen11Digits() {
61
61
  expectedException.expect(IllegalArgumentException.class);
@@ -63,7 +63,7 @@ public class PhoneNumberTest {
63
63
  new PhoneNumber("21234567890");
64
64
  }
65
65
 
66
- @Ignore
66
+ @Ignore("Remove to run test")
67
67
  @Test
68
68
  public void validWhen11DigitsAndFirstIs1() {
69
69
  final String expectedNumber = "1234567890";
@@ -74,7 +74,7 @@ public class PhoneNumberTest {
74
74
  );
75
75
  }
76
76
 
77
- @Ignore
77
+ @Ignore("Remove to run test")
78
78
  @Test
79
79
  public void invalidWhen12Digits() {
80
80
  expectedException.expect(IllegalArgumentException.class);
@@ -82,7 +82,7 @@ public class PhoneNumberTest {
82
82
  new PhoneNumber("321234567890");
83
83
  }
84
84
 
85
- @Ignore
85
+ @Ignore("Remove to run test")
86
86
  @Test
87
87
  public void invalidWithLetters() {
88
88
  expectedException.expect(IllegalArgumentException.class);
@@ -90,7 +90,7 @@ public class PhoneNumberTest {
90
90
  new PhoneNumber("123-abc-7890");
91
91
  }
92
92
 
93
- @Ignore
93
+ @Ignore("Remove to run test")
94
94
  @Test
95
95
  public void invalidWithPunctuation() {
96
96
  expectedException.expect(IllegalArgumentException.class);
@@ -98,7 +98,7 @@ public class PhoneNumberTest {
98
98
  new PhoneNumber("123-@:!-7890");
99
99
  }
100
100
 
101
- @Ignore
101
+ @Ignore("Remove to run test")
102
102
  @Test
103
103
  public void invalidWithRightNumberOfDigitsButLettersMixedIn() {
104
104
  expectedException.expect(IllegalArgumentException.class);
@@ -21,7 +21,7 @@ public class PythagoreanTripletTest {
21
21
  }
22
22
 
23
23
  @Test
24
- @Ignore
24
+ @Ignore("Remove to run test")
25
25
  public void shouldCalculateProduct() {
26
26
  PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
27
27
  final long expected = 60l;
@@ -30,21 +30,21 @@ public class PythagoreanTripletTest {
30
30
  }
31
31
 
32
32
  @Test
33
- @Ignore
33
+ @Ignore("Remove to run test")
34
34
  public void testIsPythagoreanOK() {
35
35
  PythagoreanTriplet sut = new PythagoreanTriplet(3, 4, 5);
36
36
  assertTrue(sut.isPythagorean());
37
37
  }
38
38
 
39
39
  @Test
40
- @Ignore
40
+ @Ignore("Remove to run test")
41
41
  public void testIsPythagoreanFail() {
42
42
  PythagoreanTriplet sut = new PythagoreanTriplet(5, 6, 7);
43
43
  assertFalse(sut.isPythagorean());
44
44
  }
45
45
 
46
46
  @Test
47
- @Ignore
47
+ @Ignore("Remove to run test")
48
48
  public void shouldMakeTripletsUpToTen() {
49
49
  final List<Long> actual
50
50
  = PythagoreanTriplet
@@ -60,7 +60,7 @@ public class PythagoreanTripletTest {
60
60
  }
61
61
 
62
62
  @Test
63
- @Ignore
63
+ @Ignore("Remove to run test")
64
64
  public void shouldMakeTripletsElevenToTwenty() {
65
65
  final List<Long> actual
66
66
  = PythagoreanTriplet
@@ -77,7 +77,7 @@ public class PythagoreanTripletTest {
77
77
  }
78
78
 
79
79
  @Test
80
- @Ignore
80
+ @Ignore("Remove to run test")
81
81
  public void shouldMakeTripletsAndFilterOnSum() {
82
82
  final List<Long> actual
83
83
  = PythagoreanTriplet
@@ -23,7 +23,7 @@ public final class QueenAttackCalculatorTest {
23
23
  assertFalse(calculator.canQueensAttackOneAnother());
24
24
  }
25
25
 
26
- @Ignore
26
+ @Ignore("Remove to run test")
27
27
  @Test
28
28
  public void testQueensCanAttackOnTheSameRank() {
29
29
  final QueenAttackCalculator calculator
@@ -32,7 +32,7 @@ public final class QueenAttackCalculatorTest {
32
32
  assertTrue(calculator.canQueensAttackOneAnother());
33
33
  }
34
34
 
35
- @Ignore
35
+ @Ignore("Remove to run test")
36
36
  @Test
37
37
  public void testQueensCanAttackOnTheSameFile() {
38
38
  final QueenAttackCalculator calculator
@@ -41,7 +41,7 @@ public final class QueenAttackCalculatorTest {
41
41
  assertTrue(calculator.canQueensAttackOneAnother());
42
42
  }
43
43
 
44
- @Ignore
44
+ @Ignore("Remove to run test")
45
45
  @Test
46
46
  public void testQueensCanAttackOnFirstDiagonal() {
47
47
  final QueenAttackCalculator calculator
@@ -50,7 +50,7 @@ public final class QueenAttackCalculatorTest {
50
50
  assertTrue(calculator.canQueensAttackOneAnother());
51
51
  }
52
52
 
53
- @Ignore
53
+ @Ignore("Remove to run test")
54
54
  @Test
55
55
  public void testQueensCanAttackOnSecondDiagonal() {
56
56
  final QueenAttackCalculator calculator
@@ -59,7 +59,7 @@ public final class QueenAttackCalculatorTest {
59
59
  assertTrue(calculator.canQueensAttackOneAnother());
60
60
  }
61
61
 
62
- @Ignore
62
+ @Ignore("Remove to run test")
63
63
  @Test
64
64
  public void testQueensCanAttackOnThirdDiagonal() {
65
65
  final QueenAttackCalculator calculator
@@ -68,7 +68,7 @@ public final class QueenAttackCalculatorTest {
68
68
  assertTrue(calculator.canQueensAttackOneAnother());
69
69
  }
70
70
 
71
- @Ignore
71
+ @Ignore("Remove to run test")
72
72
  @Test
73
73
  public void testQueensCanAttackOnFourthDiagonal() {
74
74
  final QueenAttackCalculator calculator
@@ -77,7 +77,7 @@ public final class QueenAttackCalculatorTest {
77
77
  assertTrue(calculator.canQueensAttackOneAnother());
78
78
  }
79
79
 
80
- @Ignore
80
+ @Ignore("Remove to run test")
81
81
  @Test
82
82
  public void testCoordinateWithNegativeRankNotAllowed() {
83
83
  expectedException.expect(IllegalArgumentException.class);
@@ -86,7 +86,7 @@ public final class QueenAttackCalculatorTest {
86
86
  new BoardCoordinate(-2, 2);
87
87
  }
88
88
 
89
- @Ignore
89
+ @Ignore("Remove to run test")
90
90
  @Test
91
91
  public void testCoordinateWithRankGreaterThan7NotAllowed() {
92
92
  expectedException.expect(IllegalArgumentException.class);
@@ -95,7 +95,7 @@ public final class QueenAttackCalculatorTest {
95
95
  new BoardCoordinate(8, 4);
96
96
  }
97
97
 
98
- @Ignore
98
+ @Ignore("Remove to run test")
99
99
  @Test
100
100
  public void testCoordinateWithNegativeFileNotAllowed() {
101
101
  expectedException.expect(IllegalArgumentException.class);
@@ -104,7 +104,7 @@ public final class QueenAttackCalculatorTest {
104
104
  new BoardCoordinate(2, -2);
105
105
  }
106
106
 
107
- @Ignore
107
+ @Ignore("Remove to run test")
108
108
  @Test
109
109
  public void testCoordinateWithFileGreaterThan7NotAllowed() {
110
110
  expectedException.expect(IllegalArgumentException.class);
@@ -113,7 +113,7 @@ public final class QueenAttackCalculatorTest {
113
113
  new BoardCoordinate(4, 8);
114
114
  }
115
115
 
116
- @Ignore
116
+ @Ignore("Remove to run test")
117
117
  @Test
118
118
  public void testNullCoordinateNotAllowed() {
119
119
  expectedException.expect(IllegalArgumentException.class);
@@ -122,7 +122,7 @@ public final class QueenAttackCalculatorTest {
122
122
  new QueenAttackCalculator(null, new BoardCoordinate(0, 7));
123
123
  }
124
124
 
125
- @Ignore
125
+ @Ignore("Remove to run test")
126
126
  @Test
127
127
  public void testQueensMustNotOccupyTheSameSquare() {
128
128
  expectedException.expect(IllegalArgumentException.class);
@@ -20,7 +20,7 @@ public final class RectangleCounterTest {
20
20
  assertEquals(0, rectangleCounter.countRectangles(inputGrid));
21
21
  }
22
22
 
23
- @Ignore
23
+ @Ignore("Remove to run test")
24
24
  @Test
25
25
  public void testNonTrivialInputWithNoRectangles() {
26
26
  String[] inputGrid = new String[]{" "};
@@ -28,7 +28,7 @@ public final class RectangleCounterTest {
28
28
  assertEquals(0, rectangleCounter.countRectangles(inputGrid));
29
29
  }
30
30
 
31
- @Ignore
31
+ @Ignore("Remove to run test")
32
32
  @Test
33
33
  public void testInputWithOneRectangle() {
34
34
  String[] inputGrid = new String[]{
@@ -40,7 +40,7 @@ public final class RectangleCounterTest {
40
40
  assertEquals(1, rectangleCounter.countRectangles(inputGrid));
41
41
  }
42
42
 
43
- @Ignore
43
+ @Ignore("Remove to run test")
44
44
  @Test
45
45
  public void testInputWithTwoRectanglesWithoutSharedEdges() {
46
46
  String[] inputGrid = new String[]{
@@ -54,7 +54,7 @@ public final class RectangleCounterTest {
54
54
  assertEquals(2, rectangleCounter.countRectangles(inputGrid));
55
55
  }
56
56
 
57
- @Ignore
57
+ @Ignore("Remove to run test")
58
58
  @Test
59
59
  public void testInputWithFiveRectanglesWithSharedEdges() {
60
60
  String[] inputGrid = new String[]{
@@ -68,7 +68,7 @@ public final class RectangleCounterTest {
68
68
  assertEquals(5, rectangleCounter.countRectangles(inputGrid));
69
69
  }
70
70
 
71
- @Ignore
71
+ @Ignore("Remove to run test")
72
72
  @Test
73
73
  public void testThatRectangleOfHeightOneIsCounted() {
74
74
  String[] inputGrid = new String[]{
@@ -79,7 +79,7 @@ public final class RectangleCounterTest {
79
79
  assertEquals(1, rectangleCounter.countRectangles(inputGrid));
80
80
  }
81
81
 
82
- @Ignore
82
+ @Ignore("Remove to run test")
83
83
  @Test
84
84
  public void testThatRectangleOfWidthOneIsCounted() {
85
85
  String[] inputGrid = new String[]{
@@ -91,7 +91,7 @@ public final class RectangleCounterTest {
91
91
  assertEquals(1, rectangleCounter.countRectangles(inputGrid));
92
92
  }
93
93
 
94
- @Ignore
94
+ @Ignore("Remove to run test")
95
95
  @Test
96
96
  public void testThatOneByOneSquareIsCounted() {
97
97
  String[] inputGrid = new String[]{
@@ -102,7 +102,7 @@ public final class RectangleCounterTest {
102
102
  assertEquals(1, rectangleCounter.countRectangles(inputGrid));
103
103
  }
104
104
 
105
- @Ignore
105
+ @Ignore("Remove to run test")
106
106
  @Test
107
107
  public void testThatIncompleteRectanglesAreNotCounted() {
108
108
  String[] inputGrid = new String[]{
@@ -116,7 +116,7 @@ public final class RectangleCounterTest {
116
116
  assertEquals(1, rectangleCounter.countRectangles(inputGrid));
117
117
  }
118
118
 
119
- @Ignore
119
+ @Ignore("Remove to run test")
120
120
  @Test
121
121
  public void testThatRectanglesOfDifferentSizesAreAllCounted() {
122
122
  String[] inputGrid = new String[]{
@@ -130,7 +130,7 @@ public final class RectangleCounterTest {
130
130
  assertEquals(3, rectangleCounter.countRectangles(inputGrid));
131
131
  }
132
132
 
133
- @Ignore
133
+ @Ignore("Remove to run test")
134
134
  @Test
135
135
  public void testThatIntersectionsWithoutCornerCharacterDoNotCountAsRectangleCorners() {
136
136
  String[] inputGrid = new String[]{
@@ -144,7 +144,7 @@ public final class RectangleCounterTest {
144
144
  assertEquals(2, rectangleCounter.countRectangles(inputGrid));
145
145
  }
146
146
 
147
- @Ignore
147
+ @Ignore("Remove to run test")
148
148
  @Test
149
149
  public void testLargeInputWithManyRectangles() {
150
150
  String[] inputGrid = new String[]{
@@ -22,13 +22,13 @@ public class RobotTest {
22
22
  assertIsValidName(robot.getName());
23
23
  }
24
24
 
25
- @Ignore
25
+ @Ignore("Remove to run test")
26
26
  @Test
27
27
  public void differentRobotsHaveDifferentNames() {
28
28
  assertThat(robot.getName(), not(equalTo(new Robot().getName())));
29
29
  }
30
30
 
31
- @Ignore
31
+ @Ignore("Remove to run test")
32
32
  @Test
33
33
  public void resetName() {
34
34
  final String name = robot.getName();