mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: replace asset with assert in project euler hints (#65020)
This commit is contained in:
committed by
GitHub
parent
1ed4803a2e
commit
0753137726
+1
-1
@@ -25,7 +25,7 @@ Give your answer as a string as a fraction `p/q` in reduced form.
|
||||
`primeFrog()` should return a string.
|
||||
|
||||
```js
|
||||
asset.isString(primeFrog());
|
||||
assert.isString(primeFrog());
|
||||
```
|
||||
|
||||
`primeFrog()` should return the string `199740353/29386561536000`.
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ Find the ${2011}^{\text{th}}$ lexicographic maximix arrangement for eleven carri
|
||||
`maximixArrangements()` should return a string.
|
||||
|
||||
```js
|
||||
asset.isString(maximixArrangements());
|
||||
assert.isString(maximixArrangements());
|
||||
```
|
||||
|
||||
`maximixArrangements()` should return the string `CAGBIHEFJDK`.
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ When giving your answer, use a lowercase e to separate mantissa and exponent. E.
|
||||
`amazingMazes()` should return a string.
|
||||
|
||||
```js
|
||||
asset.isString(amazingMazes());
|
||||
assert.isString(amazingMazes());
|
||||
```
|
||||
|
||||
`amazingMazes()` should return the string `6.3202e25093`.
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ If it happens that the conjecture is false, then the accepted answer to this pro
|
||||
`squarefreeFibonacciNumbers()` should return a string.
|
||||
|
||||
```js
|
||||
asset.isString(squarefreeFibonacciNumbers());
|
||||
assert.isString(squarefreeFibonacciNumbers());
|
||||
```
|
||||
|
||||
`squarefreeFibonacciNumbers()` should return the string `1508395636674243,6.5e27330467`.
|
||||
|
||||
Reference in New Issue
Block a user