Cody

Solution 1958219

Submitted on 3 Oct 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
board = [0 1 0 0 0 1 1 1 0 1 0 1 0 1 1 1 0 0 0 1 1 1 0 0 0]; assert(lights_out_9(board)); % [5 7 23]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test1 (line 6) assert(lights_out_9(board)); % [5 7 23]

2   Fail
board = [1 1 0 0 0 1 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 0 0 1 1]; assert(lights_out_9(board)); % [1 13 25]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test2 (line 6) assert(lights_out_9(board)); % [1 13 25]

3   Fail
board = [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 0 0 1 0 0]; assert(lights_out_9(board)); % [9 15 19]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test3 (line 6) assert(lights_out_9(board)); % [9 15 19]

4   Fail
board = [0 1 0 1 0 1 1 0 1 1 0 0 0 0 0 1 1 0 1 1 0 1 0 1 0]; assert(lights_out_9(board)); % [7 9 17 19]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test4 (line 6) assert(lights_out_9(board)); % [7 9 17 19]

5   Fail
board = [1 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 1]; assert(lights_out_9(board)); % [1 5 7 9 17 19 21 25]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test5 (line 6) assert(lights_out_9(board)); % [1 5 7 9 17 19 21 25]

6   Fail
board = [0 0 1 1 0 0 1 1 1 1 0 1 1 1 1 0 0 1 1 0 0 0 0 0 0]; assert(lights_out_9(board)); % [12 13 17 18]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test6 (line 6) assert(lights_out_9(board)); % [12 13 17 18]

7   Fail
board = [0 0 1 0 0 0 0 1 0 0 1 1 0 1 1 0 0 1 0 0 0 0 1 0 0]; assert(lights_out_9(board)); % [8 12 14 18]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test7 (line 6) assert(lights_out_9(board)); % [8 12 14 18]

8   Fail
board = [0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 1 1 1 0 0 1 0 0]; assert(lights_out_9(board)); % [3 9 15 19]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test8 (line 6) assert(lights_out_9(board)); % [3 9 15 19]

9   Fail
board = [1 0 1 0 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1 0 1 0 1]; assert(lights_out_9(board)); % [1 5 11 15 21 25]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test9 (line 6) assert(lights_out_9(board)); % [1 5 11 15 21 25]

10   Fail
board = [0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 0]; assert(lights_out_9(board)); % [7 8 9 12 14 17 18 19]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test10 (line 6) assert(lights_out_9(board)); % [7 8 9 12 14 17 18 19]

11   Fail
board = [0 1 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0]; assert(lights_out_9(board)); % [2 6 8 12 14 18 20 24]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test11 (line 6) assert(lights_out_9(board)); % [2 6 8 12 14 18 20 24]

12   Fail
board = [0 1 1 1 1 1 0 1 0 0 1 1 1 0 0 1 0 1 1 0 0 1 0 0 0]; assert(lights_out_9(board)); % on your own

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test12 (line 6) assert(lights_out_9(board)); % on your own

13   Fail
board = [1 1 1 1 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 1 1]; assert(lights_out_9(board));

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test13 (line 6) assert(lights_out_9(board));

14   Fail
board = [0 1 1 1 0 1 0 0 0 1 1 0 1 0 1 1 0 0 0 1 0 1 1 1 0]; assert(lights_out_9(board));

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test14 (line 6) assert(lights_out_9(board));

15   Fail
board = [0 0 1 0 0 0 1 1 1 0 1 1 0 1 1 0 1 1 1 0 0 0 1 0 0]; assert(lights_out_9(board));

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test15 (line 6) assert(lights_out_9(board));

16   Fail
board = [0 1 0 1 0 1 0 0 0 1 1 1 0 1 1 1 0 0 0 1 0 1 0 1 0]; assert(~lights_out_9(board)); % [7 8 9 17 18 19]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test16 (line 6) assert(~lights_out_9(board)); % [7 8 9 17 18 19]

17   Fail
board = [0 1 1 0 0 0 1 0 1 1 1 0 0 0 1 1 1 0 1 0 0 0 1 1 0]; assert(~lights_out_9(board)); % [1 2 5 10 16 21 24 25]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test17 (line 6) assert(~lights_out_9(board)); % [1 2 5 10 16 21 24 25]

18   Fail
board = [0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0]; assert(~lights_out_9(board)); % [2 5:6 8:11 17:24]

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test18 (line 6) assert(~lights_out_9(board)); % [2 5:6 8:11 17:24]

19   Fail
board = [1 0 1 0 0 0 1 1 0 0 1 0 1 0 0 0 1 1 0 0 0 0 0 0 0]; assert(~lights_out_9(board)); % on your own

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test19 (line 6) assert(~lights_out_9(board)); % on your own

20   Fail
board = [0 0 0 1 0 1 0 1 0 0 1 1 1 1 0 0 1 1 0 1 0 1 0 1 0]; assert(~lights_out_9(board));

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test20 (line 6) assert(~lights_out_9(board));

21   Fail
board = [0 0 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0]; assert(lights_out_9(board));

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test21 (line 6) assert(lights_out_9(board));

22   Fail
board = [1 0 1 1 0 1 0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 1 1 0 1]; assert(~lights_out_9(board));

Output argument "tf" (and maybe others) not assigned during call to "lights_out_9". Error in Test22 (line 6) assert(~lights_out_9(board));