trackler 2.1.0.8 → 2.1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/lib/trackler/version.rb +1 -1
- data/tracks/coq/.git +1 -0
- data/tracks/coq/.github/PULL_REQUEST_TEMPLATE.md +23 -0
- data/tracks/coq/.gitignore +4 -0
- data/tracks/coq/.travis.yml +5 -0
- data/tracks/coq/LICENSE +21 -0
- data/tracks/coq/README.md +84 -0
- data/tracks/coq/bin/fetch-configlet +32 -0
- data/tracks/coq/config.json +21 -0
- data/tracks/coq/docs/ABOUT.md +0 -0
- data/tracks/coq/docs/INSTALLATION.md +0 -0
- data/tracks/coq/docs/LEARNING.md +0 -0
- data/tracks/coq/docs/RESOURCES.md +0 -0
- data/tracks/coq/docs/TESTS.md +0 -0
- data/tracks/coq/exercises/TRACK_HINTS.md +0 -0
- data/tracks/coq/img/.keep +0 -0
- data/tracks/cpp/docs/INSTALLATION.md +1 -0
- data/tracks/go/exercises/phone-number/.meta/gen.go +82 -0
- data/tracks/go/exercises/phone-number/cases_test.go +91 -0
- data/tracks/go/exercises/phone-number/example.go +20 -18
- data/tracks/go/exercises/phone-number/phone_number_test.go +17 -52
- data/tracks/go/exercises/scrabble-score/.meta/gen.go +45 -0
- data/tracks/go/exercises/scrabble-score/cases_test.go +24 -0
- data/tracks/go/exercises/scrabble-score/example.go +1 -1
- data/tracks/go/exercises/scrabble-score/scrabble_score_test.go +3 -17
- data/tracks/java/exercises/binary-search-tree/src/test/java/BSTTest.java +2 -2
- data/tracks/java/exercises/change/src/test/java/ChangeCalculatorTest.java +8 -8
- data/tracks/java/exercises/clock/src/test/java/ClockAddTest.java +16 -16
- data/tracks/java/exercises/clock/src/test/java/ClockCreationTest.java +18 -18
- data/tracks/java/exercises/clock/src/test/java/ClockEqualTest.java +15 -15
- data/tracks/java/exercises/custom-set/src/test/java/CustomSetTest.java +36 -36
- data/tracks/java/exercises/diamond/src/test/java/DiamondPrinterTest.java +4 -4
- data/tracks/java/exercises/etl/src/test/java/EtlTest.java +3 -3
- data/tracks/java/exercises/flatten-array/src/test/java/FlattenerTest.java +5 -5
- data/tracks/java/exercises/grade-school/src/test/java/SchoolTest.java +7 -7
- data/tracks/java/exercises/hamming/src/test/java/HammingTest.java +8 -8
- data/tracks/java/exercises/isogram/src/test/java/IsogramCheckerTest.java +9 -9
- data/tracks/java/exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java +17 -17
- data/tracks/java/exercises/linked-list/src/test/java/DoublyLinkedListTest.java +4 -4
- data/tracks/java/exercises/list-ops/src/test/java/ListOpsTest.java +19 -19
- data/tracks/java/exercises/luhn/src/test/java/LuhnValidatorTest.java +12 -12
- data/tracks/java/exercises/matrix/src/test/java/MatrixTest.java +5 -5
- data/tracks/java/exercises/meetup/src/test/java/MeetupTest.java +90 -90
- data/tracks/java/exercises/minesweeper/src/test/java/MinesweeperBoardTest.java +14 -14
- data/tracks/java/exercises/nth-prime/src/test/java/PrimeCalculatorTest.java +4 -4
- data/tracks/java/exercises/nucleotide-count/src/test/java/NucleotideTest.java +8 -8
- data/tracks/java/exercises/palindrome-products/src/test/java/PalindromeCalculatorTest.java +4 -4
- data/tracks/java/exercises/pascals-triangle/src/test/java/PascalsTriangleGeneratorTest.java +5 -5
- data/tracks/java/exercises/phone-number/src/test/java/PhoneNumberTest.java +9 -9
- data/tracks/java/exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java +6 -6
- data/tracks/java/exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java +12 -12
- data/tracks/java/exercises/rectangles/src/test/java/RectangleCounterTest.java +11 -11
- data/tracks/java/exercises/robot-name/src/test/java/RobotTest.java +2 -2
- data/tracks/java/exercises/robot-simulator/src/test/java/RobotTest.java +19 -19
- data/tracks/java/exercises/series/src/test/java/SeriesTest.java +10 -10
- data/tracks/java/exercises/sieve/src/test/java/SieveTest.java +2 -2
- data/tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepOneTest.java +2 -2
- data/tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepThreeTest.java +7 -7
- data/tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepTwoTest.java +9 -9
- data/tracks/java/exercises/sublist/src/test/java/RelationshipComputerTest.java +16 -16
- data/tracks/java/exercises/sum-of-multiples/src/test/java/SumOfMultiplesTest.java +11 -11
- data/tracks/java/exercises/triangle/src/test/java/TriangleTest.java +14 -14
- data/tracks/java/exercises/twelve-days/src/test/java/TwelveDaysTest.java +13 -13
- data/tracks/java/exercises/word-count/src/test/java/WordCountTest.java +5 -5
- data/tracks/java/exercises/wordy/src/test/java/WordProblemSolverTest.java +15 -15
- data/tracks/perl6/.travis.yml +4 -8
- metadata +21 -2
@@ -17,7 +17,7 @@ public class TriangleTest {
|
|
17
17
|
assertEquals(TriangleKind.EQUILATERAL, triangle.getKind());
|
18
18
|
}
|
19
19
|
|
20
|
-
@Ignore
|
20
|
+
@Ignore("Remove to run test")
|
21
21
|
@Test
|
22
22
|
public void largerEquilateralTrianglesAlsoHaveEqualSides() throws TriangleException {
|
23
23
|
Triangle triangle = new Triangle(10, 10, 10);
|
@@ -25,7 +25,7 @@ public class TriangleTest {
|
|
25
25
|
assertEquals(TriangleKind.EQUILATERAL, triangle.getKind());
|
26
26
|
}
|
27
27
|
|
28
|
-
@Ignore
|
28
|
+
@Ignore("Remove to run test")
|
29
29
|
@Test
|
30
30
|
public void isoscelesTrianglesHaveLastTwoSidesEqual() throws TriangleException {
|
31
31
|
Triangle triangle = new Triangle(3, 4, 4);
|
@@ -33,7 +33,7 @@ public class TriangleTest {
|
|
33
33
|
assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
|
34
34
|
}
|
35
35
|
|
36
|
-
@Ignore
|
36
|
+
@Ignore("Remove to run test")
|
37
37
|
@Test
|
38
38
|
public void isoscelesTrianglesHaveFirstAndLastSidesEqual() throws TriangleException {
|
39
39
|
Triangle triangle = new Triangle(4, 3, 4);
|
@@ -41,7 +41,7 @@ public class TriangleTest {
|
|
41
41
|
assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
|
42
42
|
}
|
43
43
|
|
44
|
-
@Ignore
|
44
|
+
@Ignore("Remove to run test")
|
45
45
|
@Test
|
46
46
|
public void isoscelesTrianglesHaveTwoFirstSidesEqual() throws TriangleException {
|
47
47
|
Triangle triangle = new Triangle(4, 4, 3);
|
@@ -49,7 +49,7 @@ public class TriangleTest {
|
|
49
49
|
assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
|
50
50
|
}
|
51
51
|
|
52
|
-
@Ignore
|
52
|
+
@Ignore("Remove to run test")
|
53
53
|
@Test
|
54
54
|
public void isoscelesTrianglesHaveInFactExactlyTwoSidesEqual() throws TriangleException {
|
55
55
|
Triangle triangle = new Triangle(10, 10, 2);
|
@@ -57,7 +57,7 @@ public class TriangleTest {
|
|
57
57
|
assertEquals(TriangleKind.ISOSCELES, triangle.getKind());
|
58
58
|
}
|
59
59
|
|
60
|
-
@Ignore
|
60
|
+
@Ignore("Remove to run test")
|
61
61
|
@Test
|
62
62
|
public void scaleneTrianglesHaveNoEqualSides() throws TriangleException {
|
63
63
|
Triangle triangle = new Triangle(3, 4, 5);
|
@@ -65,7 +65,7 @@ public class TriangleTest {
|
|
65
65
|
assertEquals(TriangleKind.SCALENE, triangle.getKind());
|
66
66
|
}
|
67
67
|
|
68
|
-
@Ignore
|
68
|
+
@Ignore("Remove to run test")
|
69
69
|
@Test
|
70
70
|
public void scaleneTrianglesHaveNoEqualSidesAtLargerScaleEither() throws TriangleException {
|
71
71
|
Triangle triangle = new Triangle(10, 11, 12);
|
@@ -73,7 +73,7 @@ public class TriangleTest {
|
|
73
73
|
assertEquals(TriangleKind.SCALENE, triangle.getKind());
|
74
74
|
}
|
75
75
|
|
76
|
-
@Ignore
|
76
|
+
@Ignore("Remove to run test")
|
77
77
|
@Test
|
78
78
|
public void scaleneTrianglesHaveNoEqualSidesInDescendingOrderEither() throws TriangleException {
|
79
79
|
Triangle triangle = new Triangle(5, 4, 2);
|
@@ -81,7 +81,7 @@ public class TriangleTest {
|
|
81
81
|
assertEquals(TriangleKind.SCALENE, triangle.getKind());
|
82
82
|
}
|
83
83
|
|
84
|
-
@Ignore
|
84
|
+
@Ignore("Remove to run test")
|
85
85
|
@Test
|
86
86
|
public void verySmallTrianglesAreLegal() throws TriangleException {
|
87
87
|
Triangle triangle = new Triangle(0.4, 0.6, 0.3);
|
@@ -89,35 +89,35 @@ public class TriangleTest {
|
|
89
89
|
assertEquals(TriangleKind.SCALENE, triangle.getKind());
|
90
90
|
}
|
91
91
|
|
92
|
-
@Ignore
|
92
|
+
@Ignore("Remove to run test")
|
93
93
|
@Test
|
94
94
|
public void trianglesWithNoSizeAreIllegal() throws TriangleException {
|
95
95
|
thrown.expect(TriangleException.class);
|
96
96
|
new Triangle(0, 0, 0);
|
97
97
|
}
|
98
98
|
|
99
|
-
@Ignore
|
99
|
+
@Ignore("Remove to run test")
|
100
100
|
@Test
|
101
101
|
public void trianglesWithNegativeSidesAreIllegal() throws TriangleException {
|
102
102
|
thrown.expect(TriangleException.class);
|
103
103
|
new Triangle(3, 4, -5);
|
104
104
|
}
|
105
105
|
|
106
|
-
@Ignore
|
106
|
+
@Ignore("Remove to run test")
|
107
107
|
@Test
|
108
108
|
public void trianglesViolatingTriangleInequalityAreIllegal() throws TriangleException {
|
109
109
|
thrown.expect(TriangleException.class);
|
110
110
|
new Triangle(1, 1, 3);
|
111
111
|
}
|
112
112
|
|
113
|
-
@Ignore
|
113
|
+
@Ignore("Remove to run test")
|
114
114
|
@Test
|
115
115
|
public void trianglesViolatingTriangleInequalityAreIllegal2() throws TriangleException {
|
116
116
|
thrown.expect(TriangleException.class);
|
117
117
|
new Triangle(2, 4, 2);
|
118
118
|
}
|
119
119
|
|
120
|
-
@Ignore
|
120
|
+
@Ignore("Remove to run test")
|
121
121
|
@Test
|
122
122
|
public void trianglesViolatingTriangleInequalityAreIllegal3() throws TriangleException {
|
123
123
|
thrown.expect(TriangleException.class);
|
@@ -19,7 +19,7 @@ public class TwelveDaysTest {
|
|
19
19
|
assertEquals(expectedVerseOne, twelveDays.verse(1));
|
20
20
|
}
|
21
21
|
|
22
|
-
@Ignore
|
22
|
+
@Ignore("Remove to run test")
|
23
23
|
@Test
|
24
24
|
public void testVerseTwo() {
|
25
25
|
String expectedVerseTwo = "On the second day of Christmas my true love gave to me, two Turtle Doves, " +
|
@@ -27,7 +27,7 @@ public class TwelveDaysTest {
|
|
27
27
|
assertEquals(expectedVerseTwo, twelveDays.verse(2));
|
28
28
|
}
|
29
29
|
|
30
|
-
@Ignore
|
30
|
+
@Ignore("Remove to run test")
|
31
31
|
@Test
|
32
32
|
public void testVerseThree() {
|
33
33
|
String expectedVerseThree = "On the third day of Christmas my true love gave to me, three French Hens, " +
|
@@ -35,7 +35,7 @@ public class TwelveDaysTest {
|
|
35
35
|
assertEquals(expectedVerseThree, twelveDays.verse(3));
|
36
36
|
}
|
37
37
|
|
38
|
-
@Ignore
|
38
|
+
@Ignore("Remove to run test")
|
39
39
|
@Test
|
40
40
|
public void testVerseFour() {
|
41
41
|
String expectedVerseFour = "On the fourth day of Christmas my true love gave to me, four Calling Birds, " +
|
@@ -43,7 +43,7 @@ public class TwelveDaysTest {
|
|
43
43
|
assertEquals(expectedVerseFour, twelveDays.verse(4));
|
44
44
|
}
|
45
45
|
|
46
|
-
@Ignore
|
46
|
+
@Ignore("Remove to run test")
|
47
47
|
@Test
|
48
48
|
public void testVerseFive() {
|
49
49
|
String expectedVerseFive = "On the fifth day of Christmas my true love gave to me, five Gold Rings, " +
|
@@ -51,7 +51,7 @@ public class TwelveDaysTest {
|
|
51
51
|
assertEquals(expectedVerseFive, twelveDays.verse(5));
|
52
52
|
}
|
53
53
|
|
54
|
-
@Ignore
|
54
|
+
@Ignore("Remove to run test")
|
55
55
|
@Test
|
56
56
|
public void testVerseSix() {
|
57
57
|
String expectedVerseSix = "On the sixth day of Christmas my true love gave to me, six Geese-a-Laying, " +
|
@@ -60,7 +60,7 @@ public class TwelveDaysTest {
|
|
60
60
|
assertEquals(expectedVerseSix, twelveDays.verse(6));
|
61
61
|
}
|
62
62
|
|
63
|
-
@Ignore
|
63
|
+
@Ignore("Remove to run test")
|
64
64
|
@Test
|
65
65
|
public void testVerseSeven() {
|
66
66
|
String expectedVerseSeven = "On the seventh day of Christmas my true love gave to me, " +
|
@@ -69,7 +69,7 @@ public class TwelveDaysTest {
|
|
69
69
|
assertEquals(expectedVerseSeven, twelveDays.verse(7));
|
70
70
|
}
|
71
71
|
|
72
|
-
@Ignore
|
72
|
+
@Ignore("Remove to run test")
|
73
73
|
@Test
|
74
74
|
public void testVerseEight() {
|
75
75
|
String expectedVerseEight = "On the eighth day of Christmas my true love gave to me, eight Maids-a-Milking," +
|
@@ -78,7 +78,7 @@ public class TwelveDaysTest {
|
|
78
78
|
assertEquals(expectedVerseEight, twelveDays.verse(8));
|
79
79
|
}
|
80
80
|
|
81
|
-
@Ignore
|
81
|
+
@Ignore("Remove to run test")
|
82
82
|
@Test
|
83
83
|
public void testVerseNine() {
|
84
84
|
String expectedVerseNine = "On the ninth day of Christmas my true love gave to me, nine Ladies Dancing, " +
|
@@ -87,7 +87,7 @@ public class TwelveDaysTest {
|
|
87
87
|
assertEquals(expectedVerseNine, twelveDays.verse(9));
|
88
88
|
}
|
89
89
|
|
90
|
-
@Ignore
|
90
|
+
@Ignore("Remove to run test")
|
91
91
|
@Test
|
92
92
|
public void testVerseTen() {
|
93
93
|
String expectedVerseTen = "On the tenth day of Christmas my true love gave to me, ten Lords-a-Leaping, " +
|
@@ -97,7 +97,7 @@ public class TwelveDaysTest {
|
|
97
97
|
assertEquals(expectedVerseTen, twelveDays.verse(10));
|
98
98
|
}
|
99
99
|
|
100
|
-
@Ignore
|
100
|
+
@Ignore("Remove to run test")
|
101
101
|
@Test
|
102
102
|
public void testVerseEleven() {
|
103
103
|
String expectedVerseEleven = "On the eleventh day of Christmas my true love gave to me, " +
|
@@ -107,7 +107,7 @@ public class TwelveDaysTest {
|
|
107
107
|
assertEquals(expectedVerseEleven, twelveDays.verse(11));
|
108
108
|
}
|
109
109
|
|
110
|
-
@Ignore
|
110
|
+
@Ignore("Remove to run test")
|
111
111
|
@Test
|
112
112
|
public void testVerseTwelve() {
|
113
113
|
String expectedVerseTwelve = "On the twelfth day of Christmas my true love gave to me, " +
|
@@ -117,7 +117,7 @@ public class TwelveDaysTest {
|
|
117
117
|
assertEquals(expectedVerseTwelve, twelveDays.verse(12));
|
118
118
|
}
|
119
119
|
|
120
|
-
@Ignore
|
120
|
+
@Ignore("Remove to run test")
|
121
121
|
@Test
|
122
122
|
public void testMultipleVerses() {
|
123
123
|
String expectedVerseOneToThree = "On the first day of Christmas my true love gave to me, " +
|
@@ -129,7 +129,7 @@ public class TwelveDaysTest {
|
|
129
129
|
assertEquals(expectedVerseOneToThree, twelveDays.verses(1, 3));
|
130
130
|
}
|
131
131
|
|
132
|
-
@Ignore
|
132
|
+
@Ignore("Remove to run test")
|
133
133
|
@Test
|
134
134
|
public void testSingWholeSong() {
|
135
135
|
String expectedSong = "On the first day of Christmas my true love gave to me, a Partridge in a Pear Tree.\n" +
|
@@ -32,7 +32,7 @@ public class WordCountTest {
|
|
32
32
|
);
|
33
33
|
}
|
34
34
|
|
35
|
-
@Ignore
|
35
|
+
@Ignore("Remove to run test")
|
36
36
|
@Test
|
37
37
|
public void countOneOfEach() {
|
38
38
|
expectedWordCount.put("one", 1);
|
@@ -45,7 +45,7 @@ public class WordCountTest {
|
|
45
45
|
);
|
46
46
|
}
|
47
47
|
|
48
|
-
@Ignore
|
48
|
+
@Ignore("Remove to run test")
|
49
49
|
@Test
|
50
50
|
public void countMultipleOccurences() {
|
51
51
|
expectedWordCount.put("one", 1);
|
@@ -60,7 +60,7 @@ public class WordCountTest {
|
|
60
60
|
);
|
61
61
|
}
|
62
62
|
|
63
|
-
@Ignore
|
63
|
+
@Ignore("Remove to run test")
|
64
64
|
@Test
|
65
65
|
public void ignorePunctuation() {
|
66
66
|
expectedWordCount.put("car", 1);
|
@@ -76,7 +76,7 @@ public class WordCountTest {
|
|
76
76
|
|
77
77
|
}
|
78
78
|
|
79
|
-
@Ignore
|
79
|
+
@Ignore("Remove to run test")
|
80
80
|
@Test
|
81
81
|
public void includeNumbers() {
|
82
82
|
expectedWordCount.put("testing", 2);
|
@@ -89,7 +89,7 @@ public class WordCountTest {
|
|
89
89
|
);
|
90
90
|
}
|
91
91
|
|
92
|
-
@Ignore
|
92
|
+
@Ignore("Remove to run test")
|
93
93
|
@Test
|
94
94
|
public void normalizeCase() {
|
95
95
|
expectedWordCount.put("go", 3);
|
@@ -27,85 +27,85 @@ public final class WordProblemSolverTest {
|
|
27
27
|
assertEquals(2, solver.solve("What is 1 plus 1?"));
|
28
28
|
}
|
29
29
|
|
30
|
-
@Ignore
|
30
|
+
@Ignore("Remove to run test")
|
31
31
|
@Test
|
32
32
|
public void testSingleAddition2() {
|
33
33
|
assertEquals(55, solver.solve("What is 53 plus 2?"));
|
34
34
|
}
|
35
35
|
|
36
|
-
@Ignore
|
36
|
+
@Ignore("Remove to run test")
|
37
37
|
@Test
|
38
38
|
public void testSingleAdditionWithNegativeNumbers() {
|
39
39
|
assertEquals(-11, solver.solve("What is -1 plus -10?"));
|
40
40
|
}
|
41
41
|
|
42
|
-
@Ignore
|
42
|
+
@Ignore("Remove to run test")
|
43
43
|
@Test
|
44
44
|
public void testSingleAdditionOfLargeNumbers() {
|
45
45
|
assertEquals(45801, solver.solve("What is 123 plus 45678?"));
|
46
46
|
}
|
47
47
|
|
48
|
-
@Ignore
|
48
|
+
@Ignore("Remove to run test")
|
49
49
|
@Test
|
50
50
|
public void testSingleSubtraction() {
|
51
51
|
assertEquals(16, solver.solve("What is 4 minus -12?"));
|
52
52
|
}
|
53
53
|
|
54
|
-
@Ignore
|
54
|
+
@Ignore("Remove to run test")
|
55
55
|
@Test
|
56
56
|
public void testSingleMultiplication() {
|
57
57
|
assertEquals(-75, solver.solve("What is -3 multiplied by 25?"));
|
58
58
|
}
|
59
59
|
|
60
|
-
@Ignore
|
60
|
+
@Ignore("Remove to run test")
|
61
61
|
@Test
|
62
62
|
public void testSingleDivision() {
|
63
63
|
assertEquals(-11, solver.solve("What is 33 divided by -3?"));
|
64
64
|
}
|
65
65
|
|
66
|
-
@Ignore
|
66
|
+
@Ignore("Remove to run test")
|
67
67
|
@Test
|
68
68
|
public void testMultipleAdditions() {
|
69
69
|
assertEquals(3, solver.solve("What is 1 plus 1 plus 1?"));
|
70
70
|
}
|
71
71
|
|
72
|
-
@Ignore
|
72
|
+
@Ignore("Remove to run test")
|
73
73
|
@Test
|
74
74
|
public void testAdditionThenSubtraction() {
|
75
75
|
assertEquals(8, solver.solve("What is 1 plus 5 minus -2?"));
|
76
76
|
}
|
77
77
|
|
78
|
-
@Ignore
|
78
|
+
@Ignore("Remove to run test")
|
79
79
|
@Test
|
80
80
|
public void testMultipleSubtractions() {
|
81
81
|
assertEquals(3, solver.solve("What is 20 minus 4 minus 13?"));
|
82
82
|
}
|
83
83
|
|
84
|
-
@Ignore
|
84
|
+
@Ignore("Remove to run test")
|
85
85
|
@Test
|
86
86
|
public void testSubtractionThenAddition() {
|
87
87
|
assertEquals(14, solver.solve("What is 17 minus 6 plus 3?"));
|
88
88
|
}
|
89
89
|
|
90
|
-
@Ignore
|
90
|
+
@Ignore("Remove to run test")
|
91
91
|
@Test
|
92
92
|
public void testMultipleMultiplications() {
|
93
93
|
assertEquals(-12, solver.solve("What is 2 multiplied by -2 multiplied by 3?"));
|
94
94
|
}
|
95
95
|
|
96
|
-
@Ignore
|
96
|
+
@Ignore("Remove to run test")
|
97
97
|
@Test
|
98
98
|
public void testAdditionThenMultiplication() {
|
99
99
|
assertEquals(-8, solver.solve("What is -3 plus 7 multiplied by -2?"));
|
100
100
|
}
|
101
101
|
|
102
|
-
@Ignore
|
102
|
+
@Ignore("Remove to run test")
|
103
103
|
@Test
|
104
104
|
public void testMultipleDivisions() {
|
105
105
|
assertEquals(2, solver.solve("What is -12 divided by 2 divided by -3?"));
|
106
106
|
}
|
107
107
|
|
108
|
-
@Ignore
|
108
|
+
@Ignore("Remove to run test")
|
109
109
|
@Test
|
110
110
|
public void testUnknownOperation() {
|
111
111
|
expectedException.expect(IllegalArgumentException.class);
|
@@ -114,7 +114,7 @@ public final class WordProblemSolverTest {
|
|
114
114
|
solver.solve("What is 52 cubed?");
|
115
115
|
}
|
116
116
|
|
117
|
-
@Ignore
|
117
|
+
@Ignore("Remove to run test")
|
118
118
|
@Test
|
119
119
|
public void testInvalidQuestionFormat() {
|
120
120
|
expectedException.expect(IllegalArgumentException.class);
|
data/tracks/perl6/.travis.yml
CHANGED
@@ -1,15 +1,11 @@
|
|
1
1
|
---
|
2
2
|
sudo: false
|
3
|
-
|
4
|
-
|
5
|
-
- latest
|
6
|
-
- '2017.04.3' # Latest Rakudo Star
|
7
|
-
install:
|
8
|
-
- rakudobrew build zef
|
9
|
-
- zef install JSON::Tiny
|
3
|
+
services:
|
4
|
+
- docker
|
10
5
|
before_script:
|
11
6
|
- git clone https://github.com/exercism/x-common.git
|
12
7
|
- bin/fetch-configlet
|
8
|
+
- docker pull rakudo-star:latest
|
13
9
|
script:
|
14
10
|
- bin/configlet .
|
15
|
-
- prove -re perl6
|
11
|
+
- docker run -e EXERCISM=1 -t -v $PWD:/exercism rakudo-star prove /exercism -re perl6
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trackler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0.
|
4
|
+
version: 2.1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -1153,6 +1153,21 @@ files:
|
|
1153
1153
|
- tracks/coldfusion/exercises/leap/leap.cfc
|
1154
1154
|
- tracks/coldfusion/exercises/leap/leap_tests.cfc
|
1155
1155
|
- tracks/coldfusion/img/icon.png
|
1156
|
+
- tracks/coq/.git
|
1157
|
+
- tracks/coq/.github/PULL_REQUEST_TEMPLATE.md
|
1158
|
+
- tracks/coq/.gitignore
|
1159
|
+
- tracks/coq/.travis.yml
|
1160
|
+
- tracks/coq/LICENSE
|
1161
|
+
- tracks/coq/README.md
|
1162
|
+
- tracks/coq/bin/fetch-configlet
|
1163
|
+
- tracks/coq/config.json
|
1164
|
+
- tracks/coq/docs/ABOUT.md
|
1165
|
+
- tracks/coq/docs/INSTALLATION.md
|
1166
|
+
- tracks/coq/docs/LEARNING.md
|
1167
|
+
- tracks/coq/docs/RESOURCES.md
|
1168
|
+
- tracks/coq/docs/TESTS.md
|
1169
|
+
- tracks/coq/exercises/TRACK_HINTS.md
|
1170
|
+
- tracks/coq/img/.keep
|
1156
1171
|
- tracks/cpp/.editorconfig
|
1157
1172
|
- tracks/cpp/.git
|
1158
1173
|
- tracks/cpp/.gitignore
|
@@ -3470,6 +3485,8 @@ files:
|
|
3470
3485
|
- tracks/go/exercises/pascals-triangle/pascals_triangle_test.go
|
3471
3486
|
- tracks/go/exercises/perfect-numbers/example.go
|
3472
3487
|
- tracks/go/exercises/perfect-numbers/perfect_numbers_test.go
|
3488
|
+
- tracks/go/exercises/phone-number/.meta/gen.go
|
3489
|
+
- tracks/go/exercises/phone-number/cases_test.go
|
3473
3490
|
- tracks/go/exercises/phone-number/example.go
|
3474
3491
|
- tracks/go/exercises/phone-number/phone_number_test.go
|
3475
3492
|
- tracks/go/exercises/pig-latin/example.go
|
@@ -3516,6 +3533,8 @@ files:
|
|
3516
3533
|
- tracks/go/exercises/saddle-points/saddle_points_test.go
|
3517
3534
|
- tracks/go/exercises/say/example.go
|
3518
3535
|
- tracks/go/exercises/say/say_test.go
|
3536
|
+
- tracks/go/exercises/scrabble-score/.meta/gen.go
|
3537
|
+
- tracks/go/exercises/scrabble-score/cases_test.go
|
3519
3538
|
- tracks/go/exercises/scrabble-score/example.go
|
3520
3539
|
- tracks/go/exercises/scrabble-score/scrabble_score_test.go
|
3521
3540
|
- tracks/go/exercises/secret-handshake/example.go
|