fix: stop user code after 100ms of execution (#37841)
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com> Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
committed by
mrugesh
parent
f5360e9393
commit
01b37f664f
@ -31,8 +31,8 @@ tests:
|
||||
testString: assert(typeof emirps === 'function');
|
||||
- text: <code>emirps(20,true)</code> should return <code>[13,17,31,37,71,73,79,97,107,113,149,157,167,179,199,311,337,347,359,389]</code>
|
||||
testString: assert.deepEqual(emirps(20, true), [13, 17, 31, 37, 71, 73, 79, 97, 107, 113, 149, 157, 167, 179, 199, 311, 337, 347, 359, 389]);
|
||||
- text: <code>emirps(10000)</code> should return <code>948349</code>
|
||||
testString: assert.deepEqual(emirps(10000), 948349);
|
||||
- text: <code>emirps(1000)</code> should return <code>70529</code>
|
||||
testString: assert.deepEqual(emirps(1000), 70529);
|
||||
- text: <code>emirps([7700,8000],true)</code> should return <code>[7717,7757,7817,7841,7867,7879,7901,7927,7949,7951,7963]</code>
|
||||
testString: assert.deepEqual(emirps([7700, 8000], true), [7717, 7757, 7817, 7841, 7867, 7879, 7901, 7927, 7949, 7951, 7963]);
|
||||
- text: <code>emirps([7700,8000],true)</code> should return <code>11</code>
|
||||
|
Reference in New Issue
Block a user