Cody

Solution 2024536

Submitted on 16 Nov 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(isequal(isPrime(2),true))

2   Fail
assert(isequal(isPrime(1),false))

Assertion failed.

3   Fail
assert(isequal(isPrime(3),true))

Assertion failed.

4   Fail
assert(isequal(isPrime(11),true))

Assertion failed.

5   Fail
assert(isequal(isPrime(97),true))

Assertion failed.

6   Fail
assert(isequal(isPrime(199),true))

Assertion failed.

7   Fail
assert(isequal(isPrime(65),false))

Assertion failed.

8   Fail
assert(isequal(isPrime(93),false))

Assertion failed.

9   Fail
assert(isequal(isPrime(77),false))

Assertion failed.