fix(curriculum): added a test in step 55 of pyramid try to guide more the camper (#56478)

This commit is contained in:
Ilenia
2024-10-04 11:44:12 +02:00
committed by GitHub
parent b4f6b430c6
commit eabc35f6f8

View File

@@ -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);