(t *testing.T)
| 17 | } |
| 18 | |
| 19 | func TestTicTacToeXWinsCol(t *testing.T) { |
| 20 | toe := Constructor(3) |
| 21 | assert.Equal(t, 0, toe.Move(0, 0, 1)) |
| 22 | assert.Equal(t, 0, toe.Move(0, 2, 2)) |
| 23 | assert.Equal(t, 0, toe.Move(1, 0, 1)) |
| 24 | assert.Equal(t, 0, toe.Move(1, 2, 2)) |
| 25 | assert.Equal(t, 1, toe.Move(2, 0, 1)) |
| 26 | } |
| 27 | |
| 28 | func TestTicTacToeOWinsRow(t *testing.T) { |
| 29 | toe := Constructor(3) |
nothing calls this directly
no test coverage detected