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--
|
# --hints--
|
||||||
|
|
||||||
dotProduct should be a function.
|
`crossProduct` should be a function.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert.equal(typeof crossProduct, 'function');
|
assert.equal(typeof crossProduct, 'function');
|
||||||
```
|
```
|
||||||
|
|
||||||
dotProduct() should return null.
|
`crossProduct()` should return null.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert.equal(crossProduct(), null);
|
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
|
```js
|
||||||
assert.deepEqual(res12, exp12);
|
assert.deepEqual(res12, exp12);
|
||||||
|
Reference in New Issue
Block a user