Skip to content

Commit 725130e

Browse files
authored
chore(curriculum) Project Euler problems 301–400 to use assert.isString() (freeCodeCamp#60657)
1 parent 5bf1e82 commit 725130e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-329-prime-frog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Give your answer as a string as a fraction `p/q` in reduced form.
2525
`primeFrog()` should return a string.
2626

2727
```js
28-
assert(typeof primeFrog() === 'string');
28+
asset.isString(primeFrog());
2929
```
3030

3131
`primeFrog()` should return the string `199740353/29386561536000`.

curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-336-maximix-arrangements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Find the ${2011}^{\text{th}}$ lexicographic maximix arrangement for eleven carri
2929
`maximixArrangements()` should return a string.
3030

3131
```js
32-
assert(typeof maximixArrangements() === 'string');
32+
asset.isString(maximixArrangements());
3333
```
3434

3535
`maximixArrangements()` should return the string `CAGBIHEFJDK`.

curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-380-amazing-mazes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ When giving your answer, use a lowercase e to separate mantissa and exponent. E.
2525
`amazingMazes()` should return a string.
2626

2727
```js
28-
assert(typeof amazingMazes() === 'string');
28+
asset.isString(amazingMazes());
2929
```
3030

3131
`amazingMazes()` should return the string `6.3202e25093`.

curriculum/challenges/english/18-project-euler/project-euler-problems-301-to-400/problem-399-squarefree-fibonacci-numbers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If it happens that the conjecture is false, then the accepted answer to this pro
3131
`squarefreeFibonacciNumbers()` should return a string.
3232

3333
```js
34-
assert(typeof squarefreeFibonacciNumbers() === 'string');
34+
asset.isString(squarefreeFibonacciNumbers());
3535
```
3636

3737
`squarefreeFibonacciNumbers()` should return the string `1508395636674243,6.5e27330467`.

0 commit comments

Comments
 (0)