feat(curriculum): add a missing test to the pyramid generator (#56331)

This commit is contained in:
Ilenia
2024-09-27 10:18:17 -07:00
committed by GitHub
parent 9c6ab8de9b
commit 48b1fbd568
@@ -40,6 +40,12 @@ You should have a function named `pyramid`.
assert.isFunction(pyramid);
```
Your `pyramid` function should have three parameters.
```js
assert.lengthOf(pyramid, 3);
```
`pyramid('o', 4, false)` should return `"\n o\n ooo\n ooooo\nooooooo\n"`.
```js