mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-23 13:00:41 -04:00
fix(curriculum): added a test in step 55 of pyramid try to guide more the camper (#56478)
This commit is contained in:
@@ -33,7 +33,13 @@ You should have a function called `addTwoNumbers`.
|
||||
assert.isFunction(addTwoNumbers);
|
||||
```
|
||||
|
||||
Your function should return the sum of the two numbers.
|
||||
Your function `addTwoNumbers` should have two parameters.
|
||||
|
||||
```js
|
||||
assert.lengthOf(addTwoNumbers, 2);
|
||||
```
|
||||
|
||||
Your function should return the sum of the two parameters.
|
||||
|
||||
```js
|
||||
assert.strictEqual(addTwoNumbers(5,10), 15);
|
||||
|
||||
Reference in New Issue
Block a user