diff --git a/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.english.md b/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.english.md
index 4b43e14846..59eacc5284 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.english.md
@@ -27,7 +27,7 @@ tests:
testString: assert.strictEqual(multiplesOf3and5(49), 543);
- text: multiplesOf3and5(19564)
should return 89301183.
testString: assert.strictEqual(multiplesOf3and5(19564), 89301183);
- - text: Your function is not returning the correct result using our tests values.
+ - text: multiplesOf3and5(8456)
should return 16687353.
testString: assert.strictEqual(multiplesOf3and5(8456), 16687353);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-32-pandigital-products.english.md b/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-32-pandigital-products.english.md
index 3df8f99bc4..c2c7452d9d 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-32-pandigital-products.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-32-pandigital-products.english.md
@@ -26,7 +26,7 @@ HINT: Some products can be obtained in more than one way so be sure to only incl
```yml
tests:
- - text: pandigitalProducts()
is a function.
+ - text: pandigitalProducts()
should be a function.
testString: assert(typeof pandigitalProducts === 'function');
- text: pandigitalProducts()
should return 45228.
testString: assert.strictEqual(pandigitalProducts(), 45228);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/100-doors.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/100-doors.english.md
index cef82614cc..802856060d 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/100-doors.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/100-doors.english.md
@@ -20,11 +20,11 @@ Implement a function to determine the state of the doors after the last pass. Re
```yml
tests:
- - text: getFinalOpenedDoors
is a function.
+ - text: getFinalOpenedDoors
should be a function.
testString: assert(typeof getFinalOpenedDoors === 'function');
- text: getFinalOpenedDoors
should return an array.
testString: assert(Array.isArray(getFinalOpenedDoors(100)));
- - text: getFinalOpenedDoors
did not produce the correct results.
+ - text: getFinalOpenedDoors
should produce the correct result.
testString: assert.deepEqual(getFinalOpenedDoors(100), solution);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md
index 5a9ce9060b..d9c8016c0b 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/24-game.english.md
@@ -36,7 +36,7 @@ Implement a function that takes a string of four digits as its argument, with ea
```yml
tests:
- - text: solve24
is a function.
+ - text: solve24
should be a function.
testString: assert(typeof solve24 === 'function');
- text: solve24("4878")
should return (7-8/8)*4
or 4*(7-8/8)
testString: assert(include(answers[0], solve24(testCases[0])));
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md
index 1ee4b148f9..7c23d5b007 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md
@@ -40,7 +40,7 @@ Implement a function that returns the sum of the $n$-th row.
```yml
tests:
- - text: numberOfNames
is a function.
+ - text: numberOfNames
should be function.
testString: assert(typeof numberOfNames === 'function');
- text: numberOfNames(5)
should equal 7.
testString: assert.equal(numberOfNames(5), 7);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abc-problem.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abc-problem.english.md
index 55970f6def..b0e0ec6618 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abc-problem.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abc-problem.english.md
@@ -47,7 +47,7 @@ Some rules to keep in mind:
```yml
tests:
- - text: canMakeWord
is a function.
+ - text: canMakeWord
should be a function.
testString: assert(typeof canMakeWord === 'function');
- text: canMakeWord
should return a boolean.
testString: assert(typeof canMakeWord('hi') === 'boolean');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abundant-deficient-and-perfect-number-classifications.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abundant-deficient-and-perfect-number-classifications.english.md
index 2535ca3e02..8ca3ed62db 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abundant-deficient-and-perfect-number-classifications.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/abundant-deficient-and-perfect-number-classifications.english.md
@@ -31,7 +31,7 @@ Implement a function that calculates how many of the integers from 1
getDPA is a function.
+ - text: getDPA
should be a function.
testString: assert(typeof getDPA === 'function');
- text: getDPA
should return an array.
testString: assert(Array.isArray(getDPA(100)));
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md
index b1127a79cc..10ae169e1c 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md
@@ -24,7 +24,7 @@ Closures save outer state.
```yml
tests:
- - text: accumulator
is a function.
+ - text: accumulator
should be a function.
testString: assert(typeof accumulator === 'function');
- text: accumulator(0)
should return a function.
testString: assert(typeof accumulator(0) === 'function');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ackermann-function.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ackermann-function.english.md
index ad4b2cd5d3..66a434ab60 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ackermann-function.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ackermann-function.english.md
@@ -23,7 +23,7 @@ Write a function which returns the value of $A(m, n)$. Arbitrary precision is pr
```yml
tests:
- - text: ack
is a function.
+ - text: ack
should be a function.
testString: assert(typeof ack === 'function');
- text: ack(0, 0)
should return 1.
testString: assert(ack(0, 0) === 1);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md
index dec5ce3001..4e9524e6cd 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md
@@ -43,7 +43,7 @@ or$center$justified$within$its$column.
```yml
tests:
- - text: formatText
is a function.
+ - text: formatText
should be a function.
testString: assert(typeof formatText === 'function');
- text: 'formatText
with the above input and "right" justification should produce the following: '
testString: 'assert.strictEqual(formatText(testInput, ''right''), rightAligned);'
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md
index c466398fcd..477bbf721f 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md
@@ -26,7 +26,7 @@ Calculate and show here the Amicable pairs below 20,000 (there are eight).
```yml
tests:
- - text: amicablePairsUpTo
is a function.
+ - text: amicablePairsUpTo
should be a function.
testString: assert(typeof amicablePairsUpTo === 'function');
- text: amicablePairsUpTo(300)
should return [[220,284]]
.
testString: assert.deepEqual(amicablePairsUpTo(300), answer300);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-mode.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-mode.english.md
index 4d527bb954..51bcaadcdc 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-mode.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-mode.english.md
@@ -22,7 +22,7 @@ If it is not appropriate or possible to support a general collection, use a vect
```yml
tests:
- - text: mode
is a function.
+ - text: mode
should be a function.
testString: assert(typeof mode === 'function');
- text: mode([1, 3, 6, 6, 6, 6, 7, 7, 12, 12, 17])
should equal [6]
testString: assert.deepEqual(mode(arr1), [6]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md
index 92b896a84d..e549aa4243 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md
@@ -42,7 +42,7 @@ For the answer, please output an object in the following format:
```yml
tests:
- - text: pythagoreanMeans
is a function.
+ - text: pythagoreanMeans
should be a function.
testString: assert(typeof pythagoreanMeans === 'function');
- text: pythagoreanMeans([1, 2, ..., 10])
should equal the same output above.
testString: assert.deepEqual(pythagoreanMeans(range1), answer1);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-root-mean-square.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-root-mean-square.english.md
index 746258c2c7..c6ddc57a5e 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-root-mean-square.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-root-mean-square.english.md
@@ -23,7 +23,7 @@ The RMS is calculated as the mean of the squares of the numbers, square-rooted:
```yml
tests:
- - text: rms
is a function.
+ - text: rms
should be a function.
testString: assert(typeof rms === 'function');
- text: rms([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
should equal 6.2048368229954285
.
testString: assert.equal(rms(arr1), answer1);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/babbage-problem.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/babbage-problem.english.md
index 2b40ffa432..235d639f6f 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/babbage-problem.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/babbage-problem.english.md
@@ -26,7 +26,7 @@ Implement a function to return the lowest integer that satisfies the Babbage pro
```yml
tests:
- - text: babbage
is a function.
+ - text: babbage
should be a function.
testString: assert(typeof babbage === 'function');
- text: babbage(99736, 269696)
should not return 99736 (there is a smaller answer).
testString: assert.equal(babbage(babbageAns, endDigits), answer);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/balanced-brackets.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/balanced-brackets.english.md
index 6d5308f57f..930e9582d0 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/balanced-brackets.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/balanced-brackets.english.md
@@ -30,7 +30,7 @@ Determine whether a generated string of brackets is balanced; that is, whether i
```yml
tests:
- - text: isBalanced
is a function.
+ - text: isBalanced
should be a function.
testString: assert(typeof isBalanced === 'function');
- text: isBalanced("[]")
should return true.
testString: assert(isBalanced(testCases[0]));
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md
index 93972aeeaa..6dfbee153f 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md
@@ -42,7 +42,7 @@ Implement a function that takes two points and a radius and returns the two circ
```yml
tests:
- - text: getCircles
is a function.
+ - text: getCircles
should be a function.
testString: assert(typeof getCircles === 'function');
- text: getCircles([0.1234, 0.9876], [0.8765, 0.2345], 2.0)
should return [[1.8631, 1.9742], [-0.8632, -0.7521]]
.
testString: assert.deepEqual(getCircles(...testCases[0]), answers[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md
index 29ef11dc6d..c148787193 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md
@@ -81,7 +81,7 @@ For the input, expect the argument to be an array of objects (points) with getClosestPair
is a function.
+ - text: getClosestPair
should be a function.
testString: assert(typeof getClosestPair === 'function');
- text: Distance should be the following.
testString: assert.equal(getClosestPair(points1).distance, answer1.distance);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md
index 5ddf4c54ab..fd011a1121 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md
@@ -34,7 +34,7 @@ Given non-negative integers m
and n
, generate all size
```yml
tests:
- - text: combinations
is a function.
+ - text: combinations
should be a function.
testString: assert(typeof combinations === 'function');
- text: combinations(3, 5)
should return [[0, 1, 2], [0, 1, 3], [0, 1, 4], [0, 2, 3], [0, 2, 4], [0, 3, 4], [1, 2, 3], [1, 2, 4], [1, 3, 4], [2, 3, 4]]
.
testString: assert.deepEqual(combinations(testInput1[0], testInput1[1]), testOutput1);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md
index cd4757c25c..4ba06d0ac1 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md
@@ -34,7 +34,7 @@ Test your function with the following series of inputs showing your output here
```yml
tests:
- - text: quibble
is a function.
+ - text: quibble
should be a function.
testString: assert(typeof quibble === 'function');
- text: quibble(["ABC"])
should return a string.
testString: assert(typeof quibble(["ABC"]) === 'string');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/compare-a-list-of-strings.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/compare-a-list-of-strings.english.md
index f44b5e88a6..d07f103ee8 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/compare-a-list-of-strings.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/compare-a-list-of-strings.english.md
@@ -24,29 +24,29 @@ Given a allEqual is a function.
+ - text: allEqual
should be a function.
testString: assert(typeof allEqual === 'function');
- - text: azSorted
is a function.
+ - text: azSorted
should be a function.
testString: assert(typeof azSorted === 'function');
- - text: allEqual(["AA", "AA", "AA", "AA"])
returns true.
+ - text: allEqual(["AA", "AA", "AA", "AA"])
should return true.
testString: assert(allEqual(testCases[0]));
- - text: azSorted(["AA", "AA", "AA", "AA"])
returns false.
+ - text: azSorted(["AA", "AA", "AA", "AA"])
should return false.
testString: assert(!azSorted(testCases[0]));
- - text: allEqual(["AA", "ACB", "BB", "CC"])
returns false.
+ - text: allEqual(["AA", "ACB", "BB", "CC"])
should return false.
testString: assert(!allEqual(testCases[1]));
- - text: azSorted(["AA", "ACB", "BB", "CC"])
returns true.
+ - text: azSorted(["AA", "ACB", "BB", "CC"])
should return true.
testString: assert(azSorted(testCases[1]));
- - text: allEqual([])
returns true.
+ - text: allEqual([])
should return true.
testString: assert(allEqual(testCases[2]));
- - text: azSorted([])
returns true.
+ - text: azSorted([])
should return true.
testString: assert(azSorted(testCases[2]));
- - text: allEqual(["AA"])
returns true.
+ - text: allEqual(["AA"])
should return true.
testString: assert(allEqual(testCases[3]));
- - text: azSorted(["AA"])
returns true.
+ - text: azSorted(["AA"])
should return true.
testString: assert(azSorted(testCases[3]));
- - text: allEqual(["BB", "AA"])
returns false.
+ - text: allEqual(["BB", "AA"])
should return false.
testString: assert(!allEqual(testCases[4]));
- - text: azSorted(["BB", "AA"])
returns false.
+ - text: azSorted(["BB", "AA"])
should return false.
testString: assert(!azSorted(testCases[4]));
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/convert-seconds-to-compound-duration.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/convert-seconds-to-compound-duration.english.md
index 88e2ca8d7f..7787972dcd 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/convert-seconds-to-compound-duration.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/convert-seconds-to-compound-duration.english.md
@@ -55,7 +55,7 @@ Demonstrate that it passes the following three test-cases:
```yml
tests:
- - text: convertSeconds
is a function.
+ - text: convertSeconds
should be a function.
testString: assert(typeof convertSeconds === 'function');
- text: convertSeconds(7259)
should return 2 hr, 59 sec
.
testString: assert.equal(convertSeconds(testCases[0]), results[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-occurrences-of-a-substring.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-occurrences-of-a-substring.english.md
index 15dca6b445..abc72eeb3d 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-occurrences-of-a-substring.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-occurrences-of-a-substring.english.md
@@ -28,7 +28,7 @@ In general, this essentially means matching from left-to-right or right-to-left.
```yml
tests:
- - text: countSubstring
is a function.
+ - text: countSubstring
should be a function.
testString: assert(typeof countSubstring === 'function');
- text: countSubstring("the three truths", "th")
should return 3
.
testString: assert.equal(countSubstring(testCases[0], searchString[0]), results[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md
index 4c5d9183fb..360c1205f4 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md
@@ -35,7 +35,7 @@ Implement a function to determine how many ways there are to make change for a d
```yml
tests:
- - text: countCoins
is a function.
+ - text: countCoins
should be a function.
testString: assert(typeof countCoins === 'function');
- text: countCoints()
should return 242.
testString: assert.equal(countCoins(), 242);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md
index 7ed15ed3ec..b0df0959b4 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md
@@ -41,7 +41,7 @@ solve for $w$, $x$, $y$ and $z$, using Cramer's rule.
```yml
tests:
- - text: cramersRule
is a function.
+ - text: cramersRule
should be a function.
testString: assert(typeof cramersRule === 'function');
- text: cramersRule([[2, -1, 5, 1], [3, 2, 2, -6], [1, 3, 3, -1], [5, -2, -3, 3]], [-3, -32, -47, 49])
should return [2, -12, -4, 1]
.
testString: assert.deepEqual(cramersRule(matrices[0], freeTerms[0]), answers[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md
index 83003eb4cb..81676034ee 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md
@@ -25,13 +25,13 @@ Example output: ['2007-11-23', 'Sunday, November 23, 2007']
```yml
tests:
- - text: getDateFormats
is a function.
+ - text: getDateFormats
should be a function.
testString: assert(typeof getDateFormats === 'function');
- - text: Should return an object.
+ - text: getDateFormats
should return an object.
testString: assert(typeof getDateFormats() === 'object');
- - text: Should returned an array with 2 elements.
+ - text: getDateFormats
should return an array with 2 elements.
testString: assert(getDateFormats().length === 2);
- - text: Should return the correct date in the right format
+ - text: getDateFormats
should return the correct date in the right format
testString: assert.deepEqual(getDateFormats(), dates, equalsMessage);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-manipulation.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-manipulation.english.md
index 30ec7fe1fc..05830a94c2 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-manipulation.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-manipulation.english.md
@@ -22,7 +22,7 @@ Example output: "March 8 2009 7:30am EST"
```yml
tests:
- - text: add12Hours
is a function.
+ - text: add12Hours
should be a function.
testString: assert(typeof add12Hours === 'function');
- text: add12Hours(dateString)
should return a string.
testString: assert(typeof add12Hours('January 17 2017 11:43am EST') === 'string');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/day-of-the-week.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/day-of-the-week.english.md
index 5534ae3182..13dd0e09a9 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/day-of-the-week.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/day-of-the-week.english.md
@@ -20,7 +20,7 @@ Write a function that takes a start year and an end year and return an array of
```yml
tests:
- - text: findXmasSunday
is a function.
+ - text: findXmasSunday
should be a function.
testString: assert(typeof findXmasSunday === 'function');
- text: findChristmasSunday(2000, 2100)
should return an array.
testString: assert(typeof findXmasSunday(2000, 2100) === 'object');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deal-cards-for-freecell.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deal-cards-for-freecell.english.md
index 98d855049a..627d4e701b 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deal-cards-for-freecell.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deal-cards-for-freecell.english.md
@@ -78,7 +78,7 @@ Deals can also be checked against dealFreeCell is a function.
+ - text: dealFreeCell
should be a function.
testString: assert(typeof dealFreeCell === 'function');
- text: dealFreeCell(seed)
should return an object.
testString: assert(typeof dealFreeCell(1) === 'object');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md
index ae0f51d67c..d6391acf60 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md
@@ -31,11 +31,11 @@ tests:
testString: assert(typeof deepcopy === 'function');
- text: 'deepcopy({test: "test"})
should return an object.'
testString: 'assert(typeof deepcopy(obj1) === ''object'');'
- - text: Should not return the same object that was provided.
+ - text: deepcopy
should not return the same object that was provided.
testString: assert(deepcopy(obj2) != obj2);
- - text: When passed an object containing an array, should return a deep copy of the object.
+ - text: When passed an object containing an array, deepcopy
should return a deep copy of the object.
testString: assert.deepEqual(deepcopy(obj2), obj2);
- - text: When passed an object containing another object, should return a deep copy of the object.
+ - text: When passed an object containing another object, deepcopy
should return a deep copy of the object.
testString: assert.deepEqual(deepcopy(obj3), obj3);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/discordian-date.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/discordian-date.english.md
index 61700b6486..be5671b52e 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/discordian-date.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/discordian-date.english.md
@@ -20,7 +20,7 @@ Convert a given date from the .
testString: assert(discordianDate(new Date(2010, 6, 22)) === 'Pungenday, the 57th day of Confusion in the YOLD 3176');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/element-wise-operations.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/element-wise-operations.english.md
index b8e5c5eed3..294d926745 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/element-wise-operations.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/element-wise-operations.english.md
@@ -29,7 +29,7 @@ The first parameter will be the operation to be performed, for example, "m_add"
```yml
tests:
- - text: operation
is a function.
+ - text: operation
should be a function.
testString: assert(typeof operation === 'function');
- text: operation("m_add",[[1,2],[3,4]],[[1,2],[3,4]])
should return [[2,4],[6,8]]
.
testString: assert.deepEqual(operation('m_add', [[1, 2], [3, 4]], [[1, 2], [3, 4]]), [[2, 4], [6, 8]]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/emirp-primes.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/emirp-primes.english.md
index edc59734b7..6dd20798cb 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/emirp-primes.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/emirp-primes.english.md
@@ -27,7 +27,7 @@ The function should accept two parameters. The first will receive n
```yml
tests:
- - text: emirps
is a function.
+ - text: emirps
should be a function.
testString: assert(typeof emirps === 'function');
- text: emirps(20,true)
should return [13,17,31,37,71,73,79,97,107,113,149,157,167,179,199,311,337,347,359,389]
testString: assert.deepEqual(emirps(20, true), [13, 17, 31, 37, 71, 73, 79, 97, 107, 113, 149, 157, 167, 179, 199, 311, 337, 347, 359, 389]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/entropy.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/entropy.english.md
index 2ea7c37bb8..73a57f1443 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/entropy.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/entropy.english.md
@@ -23,7 +23,7 @@ where $count_i$ is the count of character $n_i$.
```yml
tests:
- - text: entropy
is a function.
+ - text: entropy
should be a function.
testString: assert(typeof entropy === 'function');
- text: entropy("0")
should return 0
testString: assert.equal(entropy('0'), 0);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/equilibrium-index.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/equilibrium-index.english.md
index 47991962d3..c5498a3674 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/equilibrium-index.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/equilibrium-index.english.md
@@ -41,7 +41,7 @@ Assume that the sequence may be very long.
```yml
tests:
- - text: equilibrium
is a function.
+ - text: equilibrium
should be a function.
testString: assert(typeof equilibrium === 'function');
- text: equilibrium([-7, 1, 5, 2, -4, 3, 0])
should return [3,6]
.
testString: assert.deepEqual(equilibrium(equilibriumTests[0]), ans[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ethiopian-multiplication.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ethiopian-multiplication.english.md
index e25d2bd84b..8c5402a224 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ethiopian-multiplication.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/ethiopian-multiplication.english.md
@@ -73,7 +73,7 @@ Use these functions to create a function that does Ethiopian multiplication.
```yml
tests:
- - text: eth_mult
is a function.
+ - text: eth_mult
should be a function.
testString: assert(typeof eth_mult === 'function');
- text: eth_mult(17,34)
should return 578
.
testString: assert.equal(eth_mult(17, 34), 578);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/euler-method.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/euler-method.english.md
index 0ec225ffc0..68e89381ba 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/euler-method.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/euler-method.english.md
@@ -72,7 +72,7 @@ and to compare with the analytical solution.
```yml
tests:
- - text: eulersMethod
is a function.
+ - text: eulersMethod
should be a function.
testString: assert(typeof eulersMethod === 'function');
- text: eulersMethod(0, 100, 100, 10)
should return a number.
testString: assert(typeof eulersMethod(0, 100, 100, 10) === 'number');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/evaluate-binomial-coefficients.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/evaluate-binomial-coefficients.english.md
index f306358582..89ccda34d1 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/evaluate-binomial-coefficients.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/evaluate-binomial-coefficients.english.md
@@ -22,7 +22,7 @@ $\binom{n}{k} = \frac{n!}{(n-k)!k!} = \frac{n(n-1)(n-2)\ldots(n-k+1)}{k(k-1)(k-2
```yml
tests:
- - text: binom
is a function.
+ - text: binom
should be a function.
testString: assert(typeof binom === 'function');
- text: binom(5,3)
should return 10.
testString: assert.equal(binom(5, 3), 10);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/execute-a-markov-algorithm.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/execute-a-markov-algorithm.english.md
index 9fdcf0b639..5efd54825f 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/execute-a-markov-algorithm.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/execute-a-markov-algorithm.english.md
@@ -142,7 +142,7 @@ into
```yml
tests:
- - text: markov
is a function.
+ - text: markov
should be a function.
testString: assert(typeof markov === 'function');
- text: markov(["A -> apple","B -> bag","S -> shop","T -> the","the shop -> my brother","a never used -> .terminating rule"],"I bought a B of As from T S.")
should return "I bought a bag of apples from my brother.".
testString: assert.deepEqual(markov(rules[0],tests[0]),outputs[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/extensible-prime-generator.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/extensible-prime-generator.english.md
index bf370a837d..626fb7ba1a 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/extensible-prime-generator.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/extensible-prime-generator.english.md
@@ -28,15 +28,15 @@ The function should have two parameters. The first will receive n
o
```yml
tests:
- - text: primeGenerator
is a function.
+ - text: primeGenerator
should be a function.
testString: assert(typeof primeGenerator === 'function');
- - text: primeGenerator
is a function.
+ - text: primeGenerator
should be a function.
testString: assert.deepEqual(primeGenerator(20, true), [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71]);
- - text: primeGenerator
is a function.
+ - text: primeGenerator
should be a function.
testString: assert.deepEqual(primeGenerator([100, 150], true), [101, 103, 107, 109, 113, 127, 131, 137, 139, 149]);
- - text: primeGenerator
is a function.
+ - text: primeGenerator
should be a function.
testString: assert.equal(primeGenerator([7700, 8000], false), 30);
- - text: primeGenerator
is a function.
+ - text: primeGenerator
should be a function.
testString: assert.equal(primeGenerator(10000, false), 104729);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factorial.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factorial.english.md
index 68057a7e63..b3c76c2cf0 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factorial.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factorial.english.md
@@ -30,7 +30,7 @@ For example:
```yml
tests:
- - text: factorial
is a function.
+ - text: factorial
should be a function.
testString: assert(typeof factorial === 'function');
- text: factorial(2)
should return a number.
testString: assert(typeof factorial(2) === 'number');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-a-mersenne-number.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-a-mersenne-number.english.md
index 2495d47ab5..5e0f00e6e8 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-a-mersenne-number.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-a-mersenne-number.english.md
@@ -46,7 +46,7 @@ Using the above method find a factor of 2929-1
(aka M92
```yml
tests:
- - text: check_mersenne
is a function.
+ - text: check_mersenne
should be a function.
testString: assert(typeof check_mersenne === 'function');
- text: check_mersenne(3)
should return a string.
testString: assert(typeof check_mersenne(3) == 'string');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-an-integer.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-an-integer.english.md
index 166855bf7a..dfc9da76fa 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-an-integer.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/factors-of-an-integer.english.md
@@ -21,7 +21,7 @@ These factors are the positive integers by which the number being factored can b
```yml
tests:
- - text: factors
is a function.
+ - text: factors
should be a function.
testString: assert(typeof factors === 'function');
- text: factors(45)
should return [1,3,5,9,15,45]
.
testString: assert.deepEqual(factors(45), ans[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/farey-sequence.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/farey-sequence.english.md
index 3ecbfe01b3..d6c0c0f894 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/farey-sequence.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/farey-sequence.english.md
@@ -34,7 +34,7 @@ Write a function that returns the Farey sequence of order n
. The fu
```yml
tests:
- - text: farey
is a function.
+ - text: farey
should be a function.
testString: assert(typeof farey === 'function');
- text: farey(3)
should return an array
testString: assert(Array.isArray(farey(3)));
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-n-step-number-sequences.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-n-step-number-sequences.english.md
index 60f3a7a655..1b1c4c3090 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-n-step-number-sequences.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-n-step-number-sequences.english.md
@@ -42,7 +42,7 @@ Write a function to generate Fibonacci $n$-step number sequences and Lucas seque
```yml
tests:
- - text: fib_luc
is a function.
+ - text: fib_luc
should be a function.
testString: assert(typeof fib_luc === 'function');
- text: fib_luc(2,10,"f")
should return [1,1,2,3,5,8,13,21,34,55]
.
testString: assert.deepEqual(fib_luc(2,10,"f"),ans[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-sequence.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-sequence.english.md
index 1a54dfc4df..d9f0932976 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-sequence.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-sequence.english.md
@@ -24,7 +24,7 @@ Hence, the series is: 0, 1, 1, 2, 3, 5, 8, 13...
```yml
tests:
- - text: fibonacci
is a function.
+ - text: fibonacci
should be a function.
testString: assert(typeof fibonacci === 'function');
- text: fibonacci(2)
should return a number.
testString: assert(typeof fibonacci(2) == 'number');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-word.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-word.english.md
index 0a1bf64f4a..924d87dbb0 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-word.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/fibonacci-word.english.md
@@ -26,7 +26,7 @@ Write a function to return the Fibonacci Words up to n
. nfibWord
is a function.
+ - text: fibWord
should be a function.
testString: assert(typeof fibWord === 'function');
- text: fibWord(5)
should return an array.
testString: assert(Array.isArray(fibWord(5)));
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hailstone-sequence.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hailstone-sequence.english.md
index 9b251c7262..db555ef2fc 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hailstone-sequence.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hailstone-sequence.english.md
@@ -35,7 +35,7 @@ The hailstone sequence is also known as hailstone numbers (because the values ar
```yml
tests:
- - text: hailstoneSequence
is a function.
+ - text: hailstoneSequence
should be a function.
testString: assert(typeof hailstoneSequence === 'function');
- text: hailstoneSequence()
should return [[27,82,41,124,8,4,2,1], [351, 77031]]
testString: assert.deepEqual(hailstoneSequence(), res);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/happy-numbers.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/happy-numbers.english.md
index 26aae18f69..186b1a3b00 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/happy-numbers.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/happy-numbers.english.md
@@ -21,7 +21,7 @@ Implement a function that returns true if the number is happy, or false if not.
```yml
tests:
- - text: happy
is a function.
+ - text: happy
should be a function.
testString: assert(typeof happy === 'function');
- text: happy(1)
should return a boolean.
testString: assert(typeof happy(1) === 'boolean');
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/harshad-or-niven-series.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/harshad-or-niven-series.english.md
index 02651e3985..93ea478a71 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/harshad-or-niven-series.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/harshad-or-niven-series.english.md
@@ -23,7 +23,7 @@ Use it to list the first twenty members of the sequence and list the first Harsh
```yml
tests:
- - text: isHarshadOrNiven
is a function.
+ - text: isHarshadOrNiven
should be a function.
testString: assert(typeof isHarshadOrNiven === 'function');
- text: 'isHarshadOrNiven()
should return {"firstTwenty": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 18, 20, 21, 24, 27, 30, 36, 40, 42],"firstOver1000": 1002}
'
testString: assert.deepEqual(isHarshadOrNiven(), res);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-from-two-arrays.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-from-two-arrays.english.md
index 3660aefe44..18575ce86a 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-from-two-arrays.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-from-two-arrays.english.md
@@ -24,7 +24,7 @@ Using two Arrays of equal length, create a Hash object where the elements from o
```yml
tests:
- - text: arrToObj
is a function.
+ - text: arrToObj
should be a function.
testString: assert(typeof arrToObj === 'function');
- text: 'arrToObj([1, 2, 3, 4, 5], ["a", "b", "c", "d", "e"])
should return { 1: "a", 2: "b", 3: "c", 4: "d", 5: "e" }
'
testString: assert.deepEqual(arrToObj(...testCases[0]), res[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-join.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-join.english.md
index dfbbbafa46..0d3a6a5490 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-join.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hash-join.english.md
@@ -173,7 +173,7 @@ The order of the rows in the output table is not significant.
```yml
tests:
- - text: hashJoin
is a function.
+ - text: hashJoin
should be a function.
testString: assert(typeof hashJoin === 'function');
- text: 'hashJoin([{ age: 27, name: "Jonah" }, { age: 18, name: "Alan" }, { age: 28, name: "Glory" }, { age: 18, name: "Popeye" }, { age: 28, name: "Alan" }], [{ character: "Jonah", nemesis: "Whales" }, { character: "Jonah", nemesis: "Spiders" }, { character: "Alan", nemesis: "Ghosts" }, { character:"Alan", nemesis: "Zombies" }, { character: "Glory", nemesis: "Buffy" }, { character: "Bob", nemesis: "foo" }])
should return [{"A_age": 27,"A_name": "Jonah", "B_character": "Jonah", "B_nemesis": "Whales"}, {"A_age": 27,"A_name": "Jonah", "B_character": "Jonah", "B_nemesis": "Spiders"}, {"A_age": 18,"A_name": "Alan", "B_character": "Alan", "B_nemesis": "Ghosts"}, {"A_age": 18,"A_name": "Alan", "B_character": "Alan", "B_nemesis": "Zombies"}, {"A_age": 28,"A_name": "Glory", "B_character": "Glory", "B_nemesis": "Buffy"}, {"A_age": 28,"A_name": "Alan", "B_character": "Alan", "B_nemesis": "Ghosts"}, {"A_age": 28,"A_name": "Alan", "B_character": "Alan", "B_nemesis": "Zombies"}]
'
testString: assert.deepEqual(hashJoin(hash1, hash2), res);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/heronian-triangles.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/heronian-triangles.english.md
index c27a3fbfa1..fcc13a0adb 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/heronian-triangles.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/heronian-triangles.english.md
@@ -29,7 +29,7 @@ Implement a function based on Hero's formula that returns the first n
```yml
tests:
- - text: heronianTriangle
is a function.
+ - text: heronianTriangle
should be a function.
testString: assert(typeof heronianTriangle === 'function');
- text: heronianTriangle()
should return [[3, 4, 5], [5, 5, 6], [5, 5, 8], [4, 13, 15], [5, 12, 13], [9, 10, 17], [3, 25, 26], [7, 15, 20], [10, 13, 13], [8, 15, 17]]
testString: assert.deepEqual(heronianTriangle(testCases[0]), res[0]);
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-figure-figure-sequences.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-figure-figure-sequences.english.md
index adc057409b..f2406d8984 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-figure-figure-sequences.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-figure-figure-sequences.english.md
@@ -36,9 +36,9 @@ No maximum value for n
should be assumed.
```yml
tests:
- - text: ffr
is a function.
+ - text: ffr
should be a function.
testString: assert(typeof ffr === 'function');
- - text: ffs
is a function.
+ - text: ffs
should be a function.
testString: assert(typeof ffs === 'function');
- text: ffr
should return integer.
testString: assert(Number.isInteger(ffr(1)));
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-q-sequence.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-q-sequence.english.md
index 91ddfd536b..b8a90f4c6f 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-q-sequence.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/hofstadter-q-sequence.english.md
@@ -22,7 +22,7 @@ Implement the Hofstadter Q Sequence equation as a function. The function should
```yml
tests:
- - text: hofstadterQ
is a function.
+ - text: hofstadterQ
should be a function.
testString: assert(typeof hofstadterQ === 'function');
- text: hofstadterQ()
should return integer
testString: assert(Number.isInteger(hofstadterQ(1000)));
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/jortsort.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/jortsort.english.md
index 13fa3abff4..0109a6abde 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/jortsort.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/jortsort.english.md
@@ -8,7 +8,7 @@ forumTopicId: 302293
## Description
jortSort is a sorting toolset that makes the user do the work and guarantees efficiency because you don't have to sort ever again. It was originally presented by Jenn "Moneydollars" Schiffer at the prestigious JSConf.
-jortSort is a function that takes a single array of comparable objects as its argument. It then sorts the array in ascending order and compares the sorted array to the originally provided array. If the arrays match (i.e. the original array was already sorted), the function returns true. If the arrays do not match (i.e. the original array was not sorted), the function returns false.
+jortSort should be a function that takes a single array of comparable objects as its argument. It then sorts the array in ascending order and compares the sorted array to the originally provided array. If the arrays match (i.e. the original array was already sorted), the function returns true. If the arrays do not match (i.e. the original array was not sorted), the function returns false.
## Instructions
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/s-expressions.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/s-expressions.english.md
index 6268d61c1c..b050311243 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/s-expressions.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/s-expressions.english.md
@@ -32,7 +32,7 @@ and turn it into a native data structure. (See the 10th move should be Y -> X.
testString: assert.deepEqual(res5[9], ['Y', 'X']);
- - text: towerOfHanoi(7, 'A', 'B', 'C')
first ten moves are [['A','B'], ['A','C'], ['B','C'], ['A','B'], ['C','A'], ['C','B'], ['A','B'], ['A','C'], ['B','C'], ['B','A']]
+ - text: towerOfHanoi(7, 'A', 'B', 'C')
first ten moves should be [['A','B'], ['A','C'], ['B','C'], ['A','B'], ['C','A'], ['C','B'], ['A','B'], ['A','C'], ['B','C'], ['B','A']]
testString: assert.deepEqual(towerOfHanoi(7, 'A', 'B', 'C').slice(0, 10), res7First10Moves);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-cross-product.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-cross-product.english.md
index 3ef544ce34..76ea23c37d 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-cross-product.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-cross-product.english.md
@@ -22,11 +22,11 @@ Write a function that takes two vectors (arrays) as input and computes their cro
```yml
tests:
- - text: dotProduct must be a function
+ - text: dotProduct should be a function.
testString: assert.equal(typeof crossProduct, 'function');
- - text: dotProduct() must return null
+ - text: dotProduct() should return null.
testString: assert.equal(crossProduct(), null);
- - text: crossProduct([1, 2, 3], [4, 5, 6]) must return [-3, 6, -3].
+ - text: crossProduct([1, 2, 3], [4, 5, 6]) should return [-3, 6, -3].
testString: assert.deepEqual(res12, exp12);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-dot-product.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-dot-product.english.md
index 7b3fab4ab0..87db5b085b 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-dot-product.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/vector-dot-product.english.md
@@ -22,17 +22,17 @@ Write a function that takes any numbers of vectors (arrays) as input and compute
```yml
tests:
- - text: dotProduct must be a function
+ - text: dotProduct should be a function.
testString: assert.equal(typeof dotProduct, 'function');
- - text: dotProduct() must return null
+ - text: dotProduct() should return null.
testString: assert.equal(dotProduct(), null);
- - text: dotProduct([[1], [1]]) must return 1.
+ - text: dotProduct([[1], [1]]) should return 1.
testString: assert.equal(dotProduct([1], [1]), 1);
- - text: dotProduct([[1], [1, 2]]) must return null.
+ - text: dotProduct([[1], [1, 2]]) should return null.
testString: assert.equal(dotProduct([1], [1, 2]), null);
- - text: dotProduct([1, 3, -5], [4, -2, -1]) must return 3.
+ - text: dotProduct([1, 3, -5], [4, -2, -1]) should return 3.
testString: assert.equal(dotProduct([1, 3, -5], [4, -2, -1]), 3);
- - text: dotProduct(...nVectors)
should return 156000
+ - text: dotProduct(...nVectors)
should return 156000.
testString: assert.equal(dotProduct([ 0, 1, 2, 3, 4 ], [ 0, 2, 4, 6, 8 ], [ 0, 3, 6, 9, 12 ], [ 0, 4, 8, 12, 16 ], [ 0, 5, 10, 15, 20 ]), 156000);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/word-wrap.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/word-wrap.english.md
index 6674cf4370..4d595d1248 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/word-wrap.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/word-wrap.english.md
@@ -28,17 +28,17 @@ than a simple minimum length algorithm.
```yml
tests:
- - text: wrap must be a function.
+ - text: wrap should be a function.
testString: assert.equal(typeof wrap, 'function');
- - text: wrap must return a string.
+ - text: wrap should return a string.
testString: assert.equal(typeof wrap('abc', 10), 'string');
- - text: wrap(80) must return 4 lines.
+ - text: wrap(80) should return 4 lines.
testString: assert(wrapped80.split('\n').length === 4);
- - text: Your wrap
function should return our expected text
+ - text: Your wrap
function should return our expected text.
testString: assert.equal(wrapped80.split('\n')[0], firstRow80);
- - text: wrap(42) must return 7 lines.
+ - text: wrap(42) should return 7 lines.
testString: assert(wrapped42.split('\n').length === 7);
- - text: Your wrap
function should return our expected text
+ - text: Your wrap
function should return our expected text.
testString: assert.equal(wrapped42.split('\n')[0], firstRow42);
```
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/y-combinator.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/y-combinator.english.md
index 482e1178f9..feb2981af8 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/y-combinator.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/y-combinator.english.md
@@ -27,17 +27,17 @@ Define the stateless Y combinator function and use it to compute