Cody

Solution 2625346

Submitted on 28 Jun 2020
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
x = 1; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = 1

2   Fail
x = 2; tf_correct = false; assert(isequal(woodall(x),tf_correct))

tf = 7

Assertion failed.

3   Fail
x = 3; tf_correct = false; assert(isequal(woodall(x),tf_correct))

tf = 23

Assertion failed.

4   Fail
x = 7; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = 895

Assertion failed.

5   Fail
x = 23; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = 192937983

Assertion failed.

6   Fail
x = 63; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = 5.8107e+20

Assertion failed.

7   Fail
x = 159; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = 1.1619e+50

Assertion failed.

8   Fail
x = 383; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = 7.5455e+117

Assertion failed.

9   Fail
x = 895; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = 2.3641e+272

Assertion failed.

10   Fail
x = 1000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

tf = 1.0715e+304

Assertion failed.

11   Fail
x = 2000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

12   Fail
x = 2047; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

13   Fail
x = 3000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

14   Fail
x = 3001; tf_correct = false; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

15   Fail
x = 4607; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

16   Fail
x = 10239; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

17   Fail
x = 22527; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

18   Fail
x = 7516192767; tf_correct = true; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.

19   Fail
x = 7516192766; tf_correct = false; assert(isequal(woodall(x),tf_correct))

tf = Inf

Assertion failed.