trackler 2.2.1.94 → 2.2.1.95

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/problem-specifications/exercises/anagram/canonical-data.json +1 -37
  4. data/tracks/crystal/exercises/hello-world/{HINTS.md → .meta/hints.md} +0 -0
  5. data/tracks/java/exercises/prime-factors/.meta/hints.md +58 -0
  6. data/tracks/java/exercises/prime-factors/README.md +62 -0
  7. data/tracks/java/exercises/robot-name/.meta/hints.md +58 -0
  8. data/tracks/java/exercises/robot-name/README.md +62 -0
  9. data/tracks/java/exercises/robot-simulator/src/test/java/RobotTest.java +9 -5
  10. data/tracks/java/exercises/run-length-encoding/.meta/hints.md +58 -0
  11. data/tracks/java/exercises/run-length-encoding/README.md +62 -0
  12. data/tracks/javascript/config/exercise_readme.go.tmpl +26 -4
  13. data/tracks/javascript/exercises/accumulate/README.md +16 -16
  14. data/tracks/javascript/exercises/acronym/README.md +15 -13
  15. data/tracks/javascript/exercises/all-your-base/README.md +16 -14
  16. data/tracks/javascript/exercises/allergies/README.md +15 -13
  17. data/tracks/javascript/exercises/alphametics/README.md +17 -15
  18. data/tracks/javascript/exercises/anagram/README.md +15 -12
  19. data/tracks/javascript/exercises/atbash-cipher/README.md +17 -13
  20. data/tracks/javascript/exercises/beer-song/README.md +17 -14
  21. data/tracks/javascript/exercises/binary/README.md +17 -12
  22. data/tracks/javascript/exercises/binary-search/README.md +15 -12
  23. data/tracks/javascript/exercises/binary-search-tree/README.md +15 -12
  24. data/tracks/javascript/exercises/bob/README.md +17 -12
  25. data/tracks/javascript/exercises/bowling/README.md +38 -21
  26. data/tracks/javascript/exercises/bracket-push/README.md +15 -12
  27. data/tracks/javascript/exercises/change/README.md +31 -17
  28. data/tracks/javascript/exercises/circular-buffer/README.md +28 -18
  29. data/tracks/javascript/exercises/clock/README.md +15 -12
  30. data/tracks/javascript/exercises/collatz-conjecture/README.md +15 -12
  31. data/tracks/javascript/exercises/connect/README.md +17 -16
  32. data/tracks/javascript/exercises/crypto-square/README.md +25 -20
  33. data/tracks/javascript/exercises/custom-set/README.md +15 -13
  34. data/tracks/javascript/exercises/diamond/README.md +21 -18
  35. data/tracks/javascript/exercises/difference-of-squares/README.md +16 -13
  36. data/tracks/javascript/exercises/diffie-hellman/README.md +15 -17
  37. data/tracks/javascript/exercises/etl/README.md +18 -13
  38. data/tracks/javascript/exercises/flatten-array/README.md +16 -14
  39. data/tracks/javascript/exercises/food-chain/README.md +16 -13
  40. data/tracks/javascript/exercises/forth/README.md +17 -18
  41. data/tracks/javascript/exercises/gigasecond/README.md +15 -12
  42. data/tracks/javascript/exercises/grade-school/README.md +15 -13
  43. data/tracks/javascript/exercises/grains/README.md +15 -13
  44. data/tracks/javascript/exercises/hamming/README.md +15 -12
  45. data/tracks/javascript/exercises/hello-world/README.md +15 -12
  46. data/tracks/javascript/exercises/hexadecimal/README.md +15 -12
  47. data/tracks/javascript/exercises/isbn-verifier/README.md +44 -36
  48. data/tracks/javascript/exercises/isogram/README.md +17 -13
  49. data/tracks/javascript/exercises/kindergarten-garden/README.md +28 -25
  50. data/tracks/javascript/exercises/largest-series-product/README.md +15 -12
  51. data/tracks/javascript/exercises/leap/README.md +16 -13
  52. data/tracks/javascript/exercises/linked-list/README.md +25 -22
  53. data/tracks/javascript/exercises/list-ops/README.md +15 -13
  54. data/tracks/javascript/exercises/luhn/README.md +22 -19
  55. data/tracks/javascript/exercises/matrix/README.md +21 -16
  56. data/tracks/javascript/exercises/meetup/README.md +31 -25
  57. data/tracks/javascript/exercises/minesweeper/README.md +15 -13
  58. data/tracks/javascript/exercises/nth-prime/README.md +15 -12
  59. data/tracks/javascript/exercises/nucleotide-count/README.md +23 -34
  60. data/tracks/javascript/exercises/ocr-numbers/README.md +21 -18
  61. data/tracks/javascript/exercises/octal/README.md +21 -14
  62. data/tracks/javascript/exercises/palindrome-products/README.md +29 -27
  63. data/tracks/javascript/exercises/pangram/README.md +16 -13
  64. data/tracks/javascript/exercises/pascals-triangle/README.md +17 -14
  65. data/tracks/javascript/exercises/perfect-numbers/README.md +17 -14
  66. data/tracks/javascript/exercises/phone-number/README.md +19 -15
  67. data/tracks/javascript/exercises/pig-latin/README.md +15 -12
  68. data/tracks/javascript/exercises/point-mutations/README.md +15 -12
  69. data/tracks/javascript/exercises/prime-factors/README.md +15 -12
  70. data/tracks/javascript/exercises/protein-translation/README.md +19 -17
  71. data/tracks/javascript/exercises/proverb/README.md +29 -21
  72. data/tracks/javascript/exercises/pythagorean-triplet/README.md +18 -15
  73. data/tracks/javascript/exercises/queen-attack/README.md +16 -13
  74. data/tracks/javascript/exercises/raindrops/README.md +15 -12
  75. data/tracks/javascript/exercises/reverse-string/README.md +19 -15
  76. data/tracks/javascript/exercises/rna-transcription/README.md +16 -13
  77. data/tracks/javascript/exercises/robot-name/README.md +15 -12
  78. data/tracks/javascript/exercises/robot-simulator/README.md +15 -12
  79. data/tracks/javascript/exercises/roman-numerals/README.md +16 -13
  80. data/tracks/javascript/exercises/run-length-encoding/README.md +19 -16
  81. data/tracks/javascript/exercises/saddle-points/README.md +16 -13
  82. data/tracks/javascript/exercises/say/README.md +15 -12
  83. data/tracks/javascript/exercises/scrabble-score/README.md +18 -13
  84. data/tracks/javascript/exercises/secret-handshake/README.md +16 -13
  85. data/tracks/javascript/exercises/series/README.md +15 -12
  86. data/tracks/javascript/exercises/sieve/README.md +15 -12
  87. data/tracks/javascript/exercises/simple-cipher/README.md +19 -18
  88. data/tracks/javascript/exercises/simple-linked-list/README.md +15 -12
  89. data/tracks/javascript/exercises/space-age/README.md +16 -13
  90. data/tracks/javascript/exercises/strain/README.md +15 -12
  91. data/tracks/javascript/exercises/sublist/README.md +14 -17
  92. data/tracks/javascript/exercises/sum-of-multiples/README.md +19 -19
  93. data/tracks/javascript/exercises/transpose/README.md +15 -12
  94. data/tracks/javascript/exercises/triangle/README.md +24 -18
  95. data/tracks/javascript/exercises/trinary/README.md +16 -13
  96. data/tracks/javascript/exercises/twelve-days/README.md +17 -16
  97. data/tracks/javascript/exercises/two-bucket/README.md +25 -22
  98. data/tracks/javascript/exercises/two-fer/README.md +19 -14
  99. data/tracks/javascript/exercises/word-count/README.md +16 -14
  100. data/tracks/javascript/exercises/wordy/README.md +15 -17
  101. data/tracks/javascript/exercises/zipper/README.md +20 -18
  102. data/tracks/perl6/docs/ABOUT.md +12 -21
  103. metadata +6 -4
  104. data/tracks/javascript/docs/EXERCISE_README_INSERT.md +0 -22
@@ -4,7 +4,7 @@ Detect saddle points in a matrix.
4
4
 
5
5
  So say you have a matrix like so:
6
6
 
7
- ```plain
7
+ ```text
8
8
  0 1 2
9
9
  |---------
10
10
  0 | 9 8 7
@@ -28,26 +28,29 @@ but the tests for this exercise follow the above unambiguous definition.
28
28
 
29
29
  ## Setup
30
30
 
31
- Go through the setup instructions for JavaScript to
32
- install the necessary dependencies:
31
+ Go through the setup instructions for JavaScript to install the
32
+ necessary dependencies:
33
33
 
34
34
  http://exercism.io/languages/javascript/installation
35
35
 
36
- ## Making the Test Suite Pass
36
+ ## Running the test suite
37
37
 
38
- Execute the tests with:
38
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
39
+ You can install it by opening a terminal window and running the
40
+ following command:
39
41
 
40
- jasmine <exercise-name>.spec.js
41
-
42
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
43
- test the Hello World exercise:
42
+ ```sh
43
+ npm install -g jasmine
44
+ ```
44
45
 
45
- jasmine hello-world.spec.js
46
+ Run the test suite from the exercise directory with:
46
47
 
47
- In many test suites all but the first test have been skipped.
48
+ ```sh
49
+ jasmine saddle-points.spec.js
50
+ ```
48
51
 
49
- Once you get a test passing, you can unskip the next one by
50
- changing `xit` to `it`.
52
+ In many test suites all but the first test have been marked "pending".
53
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
51
54
 
52
55
  ## Source
53
56
 
@@ -64,26 +64,29 @@ Use _and_ (correctly) when spelling out the number in English:
64
64
 
65
65
  ## Setup
66
66
 
67
- Go through the setup instructions for JavaScript to
68
- install the necessary dependencies:
67
+ Go through the setup instructions for JavaScript to install the
68
+ necessary dependencies:
69
69
 
70
70
  http://exercism.io/languages/javascript/installation
71
71
 
72
- ## Making the Test Suite Pass
72
+ ## Running the test suite
73
73
 
74
- Execute the tests with:
74
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
75
+ You can install it by opening a terminal window and running the
76
+ following command:
75
77
 
76
- jasmine <exercise-name>.spec.js
78
+ ```sh
79
+ npm install -g jasmine
80
+ ```
77
81
 
78
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
79
- test the Hello World exercise:
82
+ Run the test suite from the exercise directory with:
80
83
 
81
- jasmine hello-world.spec.js
84
+ ```sh
85
+ jasmine say.spec.js
86
+ ```
82
87
 
83
- In many test suites all but the first test have been skipped.
84
-
85
- Once you get a test passing, you can unskip the next one by
86
- changing `xit` to `it`.
88
+ In many test suites all but the first test have been marked "pending".
89
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
87
90
 
88
91
  ## Source
89
92
 
@@ -6,7 +6,7 @@ Given a word, compute the scrabble score for that word.
6
6
 
7
7
  You'll need these:
8
8
 
9
- ```plain
9
+ ```text
10
10
  Letter Value
11
11
  A, E, I, O, U, L, N, R, S, T 1
12
12
  D, G 2
@@ -18,6 +18,7 @@ Q, Z 10
18
18
  ```
19
19
 
20
20
  ## Examples
21
+
21
22
  "cabbage" should be scored as worth 14 points:
22
23
 
23
24
  - 3 points for C
@@ -34,31 +35,35 @@ And to total:
34
35
  - = 14
35
36
 
36
37
  ## Extensions
38
+
37
39
  - You can play a double or a triple letter.
38
40
  - You can play a double or a triple word.
39
41
 
40
42
  ## Setup
41
43
 
42
- Go through the setup instructions for JavaScript to
43
- install the necessary dependencies:
44
+ Go through the setup instructions for JavaScript to install the
45
+ necessary dependencies:
44
46
 
45
47
  http://exercism.io/languages/javascript/installation
46
48
 
47
- ## Making the Test Suite Pass
48
-
49
- Execute the tests with:
49
+ ## Running the test suite
50
50
 
51
- jasmine <exercise-name>.spec.js
51
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
52
+ You can install it by opening a terminal window and running the
53
+ following command:
52
54
 
53
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
54
- test the Hello World exercise:
55
+ ```sh
56
+ npm install -g jasmine
57
+ ```
55
58
 
56
- jasmine hello-world.spec.js
59
+ Run the test suite from the exercise directory with:
57
60
 
58
- In many test suites all but the first test have been skipped.
61
+ ```sh
62
+ jasmine scrabble-score.spec.js
63
+ ```
59
64
 
60
- Once you get a test passing, you can unskip the next one by
61
- changing `xit` to `it`.
65
+ In many test suites all but the first test have been marked "pending".
66
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
62
67
 
63
68
  ## Source
64
69
 
@@ -6,7 +6,7 @@
6
6
  You and your fellow cohort of those in the "know" when it comes to
7
7
  binary decide to come up with a secret "handshake".
8
8
 
9
- ```
9
+ ```text
10
10
  1 = wink
11
11
  10 = double blink
12
12
  100 = close your eyes
@@ -30,26 +30,29 @@ has caused the array to be reversed.
30
30
 
31
31
  ## Setup
32
32
 
33
- Go through the setup instructions for JavaScript to
34
- install the necessary dependencies:
33
+ Go through the setup instructions for JavaScript to install the
34
+ necessary dependencies:
35
35
 
36
36
  http://exercism.io/languages/javascript/installation
37
37
 
38
- ## Making the Test Suite Pass
39
-
40
- Execute the tests with:
38
+ ## Running the test suite
41
39
 
42
- jasmine <exercise-name>.spec.js
40
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
41
+ You can install it by opening a terminal window and running the
42
+ following command:
43
43
 
44
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
45
- test the Hello World exercise:
44
+ ```sh
45
+ npm install -g jasmine
46
+ ```
46
47
 
47
- jasmine hello-world.spec.js
48
+ Run the test suite from the exercise directory with:
48
49
 
49
- In many test suites all but the first test have been skipped.
50
+ ```sh
51
+ jasmine secret-handshake.spec.js
52
+ ```
50
53
 
51
- Once you get a test passing, you can unskip the next one by
52
- changing `xit` to `it`.
54
+ In many test suites all but the first test have been marked "pending".
55
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
53
56
 
54
57
  ## Source
55
58
 
@@ -22,26 +22,29 @@ in the input; the digits need not be *numerically consecutive*.
22
22
 
23
23
  ## Setup
24
24
 
25
- Go through the setup instructions for JavaScript to
26
- install the necessary dependencies:
25
+ Go through the setup instructions for JavaScript to install the
26
+ necessary dependencies:
27
27
 
28
28
  http://exercism.io/languages/javascript/installation
29
29
 
30
- ## Making the Test Suite Pass
30
+ ## Running the test suite
31
31
 
32
- Execute the tests with:
32
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
33
+ You can install it by opening a terminal window and running the
34
+ following command:
33
35
 
34
- jasmine <exercise-name>.spec.js
36
+ ```sh
37
+ npm install -g jasmine
38
+ ```
35
39
 
36
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
37
- test the Hello World exercise:
40
+ Run the test suite from the exercise directory with:
38
41
 
39
- jasmine hello-world.spec.js
42
+ ```sh
43
+ jasmine series.spec.js
44
+ ```
40
45
 
41
- In many test suites all but the first test have been skipped.
42
-
43
- Once you get a test passing, you can unskip the next one by
44
- changing `xit` to `it`.
46
+ In many test suites all but the first test have been marked "pending".
47
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
45
48
 
46
49
  ## Source
47
50
 
@@ -29,26 +29,29 @@ correct list of primes.
29
29
 
30
30
  ## Setup
31
31
 
32
- Go through the setup instructions for JavaScript to
33
- install the necessary dependencies:
32
+ Go through the setup instructions for JavaScript to install the
33
+ necessary dependencies:
34
34
 
35
35
  http://exercism.io/languages/javascript/installation
36
36
 
37
- ## Making the Test Suite Pass
37
+ ## Running the test suite
38
38
 
39
- Execute the tests with:
39
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
40
+ You can install it by opening a terminal window and running the
41
+ following command:
40
42
 
41
- jasmine <exercise-name>.spec.js
43
+ ```sh
44
+ npm install -g jasmine
45
+ ```
42
46
 
43
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
44
- test the Hello World exercise:
47
+ Run the test suite from the exercise directory with:
45
48
 
46
- jasmine hello-world.spec.js
49
+ ```sh
50
+ jasmine sieve.spec.js
51
+ ```
47
52
 
48
- In many test suites all but the first test have been skipped.
49
-
50
- Once you get a test passing, you can unskip the next one by
51
- changing `xit` to `it`.
53
+ In many test suites all but the first test have been marked "pending".
54
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
52
55
 
53
56
  ## Source
54
57
 
@@ -58,15 +58,13 @@ would get the same thing as the Caesar Cipher.
58
58
 
59
59
  The weakest link in any cipher is the human being. Let's make your
60
60
  substitution cipher a little more fault tolerant by providing a source
61
- of randomness and ensuring that the key is not composed of numbers or
62
- capital letters.
61
+ of randomness and ensuring that the key contains only lowercase letters.
63
62
 
64
63
  If someone doesn't submit a key at all, generate a truly random key of
65
- at least 100 characters in length, accessible via Cipher#key (the #
66
- syntax means instance variable)
64
+ at least 100 characters in length.
67
65
 
68
- If the key submitted has capital letters or numbers, throw an
69
- ArgumentError with a message to that effect.
66
+ If the key submitted is not composed only of lowercase letters, your
67
+ solution should handle the error in a language-appropriate way.
70
68
 
71
69
  ## Extensions
72
70
 
@@ -85,26 +83,29 @@ on Wikipedia][dh] for one of the first implementations of this scheme.
85
83
 
86
84
  ## Setup
87
85
 
88
- Go through the setup instructions for JavaScript to
89
- install the necessary dependencies:
86
+ Go through the setup instructions for JavaScript to install the
87
+ necessary dependencies:
90
88
 
91
89
  http://exercism.io/languages/javascript/installation
92
90
 
93
- ## Making the Test Suite Pass
91
+ ## Running the test suite
94
92
 
95
- Execute the tests with:
93
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
94
+ You can install it by opening a terminal window and running the
95
+ following command:
96
96
 
97
- jasmine <exercise-name>.spec.js
97
+ ```sh
98
+ npm install -g jasmine
99
+ ```
98
100
 
99
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
100
- test the Hello World exercise:
101
+ Run the test suite from the exercise directory with:
101
102
 
102
- jasmine hello-world.spec.js
103
+ ```sh
104
+ jasmine simple-cipher.spec.js
105
+ ```
103
106
 
104
- In many test suites all but the first test have been skipped.
105
-
106
- Once you get a test passing, you can unskip the next one by
107
- changing `xit` to `it`.
107
+ In many test suites all but the first test have been marked "pending".
108
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
108
109
 
109
110
  ## Source
110
111
 
@@ -23,26 +23,29 @@ implement your own abstract data type.
23
23
 
24
24
  ## Setup
25
25
 
26
- Go through the setup instructions for JavaScript to
27
- install the necessary dependencies:
26
+ Go through the setup instructions for JavaScript to install the
27
+ necessary dependencies:
28
28
 
29
29
  http://exercism.io/languages/javascript/installation
30
30
 
31
- ## Making the Test Suite Pass
31
+ ## Running the test suite
32
32
 
33
- Execute the tests with:
33
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
34
+ You can install it by opening a terminal window and running the
35
+ following command:
34
36
 
35
- jasmine <exercise-name>.spec.js
37
+ ```sh
38
+ npm install -g jasmine
39
+ ```
36
40
 
37
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
38
- test the Hello World exercise:
41
+ Run the test suite from the exercise directory with:
39
42
 
40
- jasmine hello-world.spec.js
43
+ ```sh
44
+ jasmine simple-linked-list.spec.js
45
+ ```
41
46
 
42
- In many test suites all but the first test have been skipped.
43
-
44
- Once you get a test passing, you can unskip the next one by
45
- changing `xit` to `it`.
47
+ In many test suites all but the first test have been marked "pending".
48
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
46
49
 
47
50
  ## Source
48
51
 
@@ -12,33 +12,36 @@ Given an age in seconds, calculate how old someone would be on:
12
12
  - Neptune: orbital period 164.79132 Earth years
13
13
 
14
14
  So if you were told someone were 1,000,000,000 seconds old, you should
15
- be able to say that they're 31 Earth-years old.
15
+ be able to say that they're 31.69 Earth-years old.
16
16
 
17
17
  If you're wondering why Pluto didn't make the cut, go watch [this
18
18
  youtube video](http://www.youtube.com/watch?v=Z_2gbGXzFbs).
19
19
 
20
20
  ## Setup
21
21
 
22
- Go through the setup instructions for JavaScript to
23
- install the necessary dependencies:
22
+ Go through the setup instructions for JavaScript to install the
23
+ necessary dependencies:
24
24
 
25
25
  http://exercism.io/languages/javascript/installation
26
26
 
27
- ## Making the Test Suite Pass
27
+ ## Running the test suite
28
28
 
29
- Execute the tests with:
29
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
30
+ You can install it by opening a terminal window and running the
31
+ following command:
30
32
 
31
- jasmine <exercise-name>.spec.js
33
+ ```sh
34
+ npm install -g jasmine
35
+ ```
32
36
 
33
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
34
- test the Hello World exercise:
37
+ Run the test suite from the exercise directory with:
35
38
 
36
- jasmine hello-world.spec.js
39
+ ```sh
40
+ jasmine space-age.spec.js
41
+ ```
37
42
 
38
- In many test suites all but the first test have been skipped.
39
-
40
- Once you get a test passing, you can unskip the next one by
41
- changing `xit` to `it`.
43
+ In many test suites all but the first test have been marked "pending".
44
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
42
45
 
43
46
  ## Source
44
47
 
@@ -35,26 +35,29 @@ basic tools instead.
35
35
 
36
36
  ## Setup
37
37
 
38
- Go through the setup instructions for JavaScript to
39
- install the necessary dependencies:
38
+ Go through the setup instructions for JavaScript to install the
39
+ necessary dependencies:
40
40
 
41
41
  http://exercism.io/languages/javascript/installation
42
42
 
43
- ## Making the Test Suite Pass
43
+ ## Running the test suite
44
44
 
45
- Execute the tests with:
45
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
46
+ You can install it by opening a terminal window and running the
47
+ following command:
46
48
 
47
- jasmine <exercise-name>.spec.js
49
+ ```sh
50
+ npm install -g jasmine
51
+ ```
48
52
 
49
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
50
- test the Hello World exercise:
53
+ Run the test suite from the exercise directory with:
51
54
 
52
- jasmine hello-world.spec.js
55
+ ```sh
56
+ jasmine strain.spec.js
57
+ ```
53
58
 
54
- In many test suites all but the first test have been skipped.
55
-
56
- Once you get a test passing, you can unskip the next one by
57
- changing `xit` to `it`.
59
+ In many test suites all but the first test have been marked "pending".
60
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
58
61
 
59
62
  ## Source
60
63
 
@@ -19,32 +19,29 @@ Examples:
19
19
 
20
20
  ## Setup
21
21
 
22
- Go through the setup instructions for ECMAScript to
23
- install the necessary dependencies:
22
+ Go through the setup instructions for JavaScript to install the
23
+ necessary dependencies:
24
24
 
25
- http://exercism.io/languages/ecmascript
25
+ http://exercism.io/languages/javascript/installation
26
26
 
27
- ## Requirements
27
+ ## Running the test suite
28
28
 
29
- Install assignment dependencies:
29
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
30
+ You can install it by opening a terminal window and running the
31
+ following command:
30
32
 
31
- ```bash
32
- $ npm install -g jasmine
33
+ ```sh
34
+ npm install -g jasmine
33
35
  ```
34
36
 
35
- ## Making the test suite pass
37
+ Run the test suite from the exercise directory with:
36
38
 
37
- Execute the tests with:
38
-
39
- ```bash
40
- $ jasmine sublist.spec.js
39
+ ```sh
40
+ jasmine sublist.spec.js
41
41
  ```
42
42
 
43
- In the test suites all tests but the first have been skipped.
44
-
45
- Once you get a test passing, you can enable the next one by
46
- changing `xit` to `it`.
47
-
43
+ In many test suites all but the first test have been marked "pending".
44
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
48
45
 
49
46
  ## Submitting Incomplete Solutions
50
47
  It's possible to submit an incomplete solution so you can see how others have completed the exercise.
@@ -1,38 +1,38 @@
1
- # Sum of Multiples
1
+ # Sum Of Multiples
2
2
 
3
- Given a number, find the sum of all the multiples of particular numbers up to
3
+ Given a number, find the sum of all the unique multiples of particular numbers up to
4
4
  but not including that number.
5
5
 
6
- If we list all the natural numbers up to but not including 20 that are
7
- multiples of either 3 or 5, we get 3, 5, 6, 9, 10, 12, 15, and 18.
6
+ If we list all the natural numbers below 20 that are multiples of 3 or 5,
7
+ we get 3, 5, 6, 9, 10, 12, 15, and 18.
8
8
 
9
9
  The sum of these multiples is 78.
10
10
 
11
- Given a number, find the sum of the multiples of a given set of numbers,
12
- up to but not including that number.
13
-
14
11
  ## Setup
15
12
 
16
- Go through the setup instructions for JavaScript to
17
- install the necessary dependencies:
13
+ Go through the setup instructions for JavaScript to install the
14
+ necessary dependencies:
18
15
 
19
16
  http://exercism.io/languages/javascript/installation
20
17
 
21
- ## Making the Test Suite Pass
22
-
23
- Execute the tests with:
18
+ ## Running the test suite
24
19
 
25
- jasmine <exercise-name>.spec.js
20
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
21
+ You can install it by opening a terminal window and running the
22
+ following command:
26
23
 
27
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
28
- test the Hello World exercise:
24
+ ```sh
25
+ npm install -g jasmine
26
+ ```
29
27
 
30
- jasmine hello-world.spec.js
28
+ Run the test suite from the exercise directory with:
31
29
 
32
- In many test suites all but the first test have been skipped.
30
+ ```sh
31
+ jasmine sum-of-multiples.spec.js
32
+ ```
33
33
 
34
- Once you get a test passing, you can unskip the next one by
35
- changing `xit` to `it`.
34
+ In many test suites all but the first test have been marked "pending".
35
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
36
36
 
37
37
  ## Source
38
38
 
@@ -60,26 +60,29 @@ the corresponding output row should contain the spaces in its right-most column(
60
60
 
61
61
  ## Setup
62
62
 
63
- Go through the setup instructions for JavaScript to
64
- install the necessary dependencies:
63
+ Go through the setup instructions for JavaScript to install the
64
+ necessary dependencies:
65
65
 
66
66
  http://exercism.io/languages/javascript/installation
67
67
 
68
- ## Making the Test Suite Pass
68
+ ## Running the test suite
69
69
 
70
- Execute the tests with:
70
+ The provided test suite uses [Jasmine](https://jasmine.github.io/).
71
+ You can install it by opening a terminal window and running the
72
+ following command:
71
73
 
72
- jasmine <exercise-name>.spec.js
73
-
74
- Replace `<exercise-name>` with the name of the current exercise. E.g., to
75
- test the Hello World exercise:
74
+ ```sh
75
+ npm install -g jasmine
76
+ ```
76
77
 
77
- jasmine hello-world.spec.js
78
+ Run the test suite from the exercise directory with:
78
79
 
79
- In many test suites all but the first test have been skipped.
80
+ ```sh
81
+ jasmine transpose.spec.js
82
+ ```
80
83
 
81
- Once you get a test passing, you can unskip the next one by
82
- changing `xit` to `it`.
84
+ In many test suites all but the first test have been marked "pending".
85
+ Once you get a test passing, activate the next one by changing `xit` to `it`.
83
86
 
84
87
  ## Source
85
88