fix: correct tests descriptions (#40945)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user