Cody

Solution 2028554

Submitted on 20 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   Fail
x = 1; y_correct = true; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

2   Fail
x = 0; y_correct = false; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

3   Fail
x = 100; y_correct = false; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

4   Fail
x = 123; y_correct = true; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

5   Fail
x = 1203; y_correct = false; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

6   Fail
x = 5432; y_correct = false; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

7   Fail
x = 54321; y_correct = true; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

8   Fail
x = 2361457879; y_correct = false; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

9   Fail
x = 1234567809; y_correct = false; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.

10   Fail
x = 987654321; y_correct = true; assert(isequal(is_pandigital(x),y_correct))

Assertion failed.