fix: test curriculum challenges (#24180)

This commit is contained in:
Valeriy
2018-10-23 16:21:53 +03:00
committed by mrugesh mohapatra
parent 7da04a348b
commit e099d6486d
29 changed files with 478 additions and 193 deletions

View File

@ -27,7 +27,7 @@ Give your answer as a hexadecimal number.
```yml
tests:
- text: <code>euler162()</code> should return 3D58725572C62302.
testString: assert.strictEqual(euler162(), 3D58725572C62302, '<code>euler162()</code> should return 3D58725572C62302.');
testString: assert.strictEqual(euler162(), '3D58725572C62302', '<code>euler162()</code> should return 3D58725572C62302.');
```

View File

@ -27,7 +27,7 @@ Find the sum of the digits of all the n-digit steady squares in the base 14 numb
```yml
tests:
- text: <code>euler284()</code> should return 5a411d7b.
testString: assert.strictEqual(euler284(), 5a411d7b, '<code>euler284()</code> should return 5a411d7b.');
testString: assert.strictEqual(euler284(), '5a411d7b', '<code>euler284()</code> should return 5a411d7b.');
```