fix: correct tests descriptions (#40945)

This commit is contained in:
gikf
2021-02-10 12:42:12 +01:00
committed by GitHub
parent 9f219f3f2b
commit 6ae3735979

View File

@ -16,19 +16,19 @@ Write a function that takes two vectors (arrays) as input and computes their cro
# --hints--
dotProduct should be a function.
`crossProduct` should be a function.
```js
assert.equal(typeof crossProduct, 'function');
```
dotProduct() should return null.
`crossProduct()` should return null.
```js
assert.equal(crossProduct(), null);
```
crossProduct([1, 2, 3], [4, 5, 6]) should return [-3, 6, -3].
`crossProduct([1, 2, 3], [4, 5, 6])` should return `[-3, 6, -3]`.
```js
assert.deepEqual(res12, exp12);