trackler 2.0.6.36 → 2.0.6.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/fsharp/exercises/isogram/IsogramTest.fs +70 -12
- data/tracks/fsharp/exercises/luhn/LuhnTest.fs +103 -9
- data/tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs +53 -14
- data/tracks/go/config.json +5 -0
- data/tracks/go/exercises/forth/cases_test.go +246 -0
- data/tracks/go/exercises/forth/example.go +238 -0
- data/tracks/go/exercises/forth/example_gen.go +99 -0
- data/tracks/go/exercises/forth/forth_test.go +64 -0
- data/tracks/java/exercises/phone-number/src/example/java/PhoneNumber.java +19 -25
- data/tracks/java/exercises/phone-number/src/test/java/PhoneNumberTest.java +44 -30
- data/tracks/ocaml/README.md +11 -0
- data/tracks/ocaml/tools/test-generator/README.md +39 -1
- data/tracks/perl6/.travis.yml +1 -1
- data/tracks/perl6/exercises/allergies/allergies.t +118 -3
- data/tracks/perl6/exercises/atbash-cipher/atbash-cipher.t +91 -3
- data/tracks/perl6/exercises/phone-number/phone-number.t +58 -5
- data/tracks/perl6/exercises/space-age/space-age.t +51 -4
- data/tracks/perl6/exercises/wordy/wordy.t +91 -4
- metadata +6 -7
- data/tracks/perl6/exercises/allergies/cases.json +0 -109
- data/tracks/perl6/exercises/atbash-cipher/cases.json +0 -82
- data/tracks/perl6/exercises/phone-number/cases.json +0 -47
- data/tracks/perl6/exercises/space-age/cases.json +0 -46
- data/tracks/perl6/exercises/wordy/cases.json +0 -89
@@ -1,46 +0,0 @@
|
|
1
|
-
{ "#": [],
|
2
|
-
"age on": {
|
3
|
-
"cases": [
|
4
|
-
{
|
5
|
-
"planet": "Earth",
|
6
|
-
"seconds": 1000000000,
|
7
|
-
"expected": 31.69
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"planet": "Mercury",
|
11
|
-
"seconds": 2134835688,
|
12
|
-
"expected": 280.88
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"planet": "Venus",
|
16
|
-
"seconds": 189839836,
|
17
|
-
"expected": 9.78
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"planet": "Mars",
|
21
|
-
"seconds": 2329871239,
|
22
|
-
"expected": 39.25
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"planet": "Jupiter",
|
26
|
-
"seconds": 901876382,
|
27
|
-
"expected": 2.41
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"planet": "Saturn",
|
31
|
-
"seconds": 3000000000,
|
32
|
-
"expected": 3.23
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"planet": "Uranus",
|
36
|
-
"seconds": 3210123456,
|
37
|
-
"expected": 1.21
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"planet": "Neptune",
|
41
|
-
"seconds": 8210123456,
|
42
|
-
"expected": 1.58
|
43
|
-
}
|
44
|
-
]
|
45
|
-
}
|
46
|
-
}
|
@@ -1,89 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"#": [
|
3
|
-
"The tests that expect 'false' should be implemented to raise",
|
4
|
-
"an error, or indicate a failure. Implement this in a way that",
|
5
|
-
"makes sense for your language."
|
6
|
-
],
|
7
|
-
"cases": [
|
8
|
-
{
|
9
|
-
"description": "addition",
|
10
|
-
"input": "What is 1 plus 1?",
|
11
|
-
"expected": 2
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"description": "more addition",
|
15
|
-
"input": "What is 53 plus 2?",
|
16
|
-
"expected": 55
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"description": "addition with negative numbers",
|
20
|
-
"input": "What is -1 plus -10?",
|
21
|
-
"expected": -11
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"description": "large addition",
|
25
|
-
"input": "What is 123 plus 45678?",
|
26
|
-
"expected": 45801
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"description": "subtraction",
|
30
|
-
"input": "What is 4 minus -12?",
|
31
|
-
"expected": 16
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"description": "multiplication",
|
35
|
-
"input": "What is -3 multiplied by 25?",
|
36
|
-
"expected": -75
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"description": "division",
|
40
|
-
"input": "What is 33 divided by -3?",
|
41
|
-
"expected": -11
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"description": "multiple additions",
|
45
|
-
"input": "What is 1 plus 1 plus 1?",
|
46
|
-
"expected": 3
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"description": "addition and subtraction",
|
50
|
-
"input": "What is 1 plus 5 minus -2?",
|
51
|
-
"expected": 8
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"description": "multiple subtraction",
|
55
|
-
"input": "What is 20 minus 4 minus 13?",
|
56
|
-
"expected": 3
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"description": "subtraction then addition",
|
60
|
-
"input": "What is 17 minus 6 plus 3?",
|
61
|
-
"expected": 14
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"description": "multiple multiplication",
|
65
|
-
"input": "What is 2 multiplied by -2 multiplied by 3?",
|
66
|
-
"expected": -12
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"description": "addition and multiplication",
|
70
|
-
"input": "What is -3 plus 7 multiplied by -2?",
|
71
|
-
"expected": -8
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"description": "multiple division",
|
75
|
-
"input": "What is -12 divided by 2 divided by -3?",
|
76
|
-
"expected": 2
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"description": "unknown operation",
|
80
|
-
"input": "What is 52 cubed?",
|
81
|
-
"expected": null
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"description": "Non math question",
|
85
|
-
"input": "Who is the President of the United States?",
|
86
|
-
"expected": null
|
87
|
-
}
|
88
|
-
]
|
89
|
-
}
|