chore: update assertions to use assert.isString for Project Euler (#60601)

This commit is contained in:
cstidm2
2025-05-29 14:29:16 -05:00
committed by GitHub
parent 8114156602
commit 50c8021550
3 changed files with 3 additions and 3 deletions
@@ -28,7 +28,7 @@ What is the position of the cursor after ${10}^{12}$ steps in $D_{50}$? Give you
`heighwayDragon()` should return a string.
```js
assert(typeof heighwayDragon() === 'string');
assert.isString(heighwayDragon());
```
`heighwayDragon()` should return the string `139776,963904`.
@@ -36,7 +36,7 @@ What's the largest possible value of $m$? Give your answer as a string with frac
`luxuryHampers()` should return a string.
```js
assert(typeof luxuryHampers() === 'string');
assert.isString(luxuryHampers());
```
`luxuryHampers()` should return the string `123/59`.
@@ -21,7 +21,7 @@ Find the sum of the digits of all the $n$-digit steady squares in the base 14 nu
`steadySquares()` should return a string.
```js
assert(typeof steadySquares() === 'string');
assert.isString(steadySquares());
```
`steadySquares()` should return the string `5a411d7b`.