fix(curriculum): changed test text to use should for Coding Interview Prep - part 2 of 2 (#37766)
* fix: changed test text to use should * fix: corrected typo Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: corrected typo Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
committed by
Manish Giri
parent
9cd57105af
commit
c25916c9a2
@ -27,7 +27,7 @@ tests:
|
||||
testString: assert.strictEqual(multiplesOf3and5(49), 543);
|
||||
- text: <code>multiplesOf3and5(19564)</code> should return 89301183.
|
||||
testString: assert.strictEqual(multiplesOf3and5(19564), 89301183);
|
||||
- text: Your function is not returning the correct result using our tests values.
|
||||
- text: <code>multiplesOf3and5(8456)</code> should return 16687353.
|
||||
testString: assert.strictEqual(multiplesOf3and5(8456), 16687353);
|
||||
|
||||
```
|
||||
|
@ -26,7 +26,7 @@ HINT: Some products can be obtained in more than one way so be sure to only incl
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>pandigitalProducts()</code> is a function.
|
||||
- text: <code>pandigitalProducts()</code> should be a function.
|
||||
testString: assert(typeof pandigitalProducts === 'function');
|
||||
- text: <code>pandigitalProducts()</code> should return 45228.
|
||||
testString: assert.strictEqual(pandigitalProducts(), 45228);
|
||||
|
Reference in New Issue
Block a user