(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestTicTacToeOWinsCol(t *testing.T) { |
| 39 | toe := Constructor(3) |
| 40 | assert.Equal(t, 0, toe.Move(0, 0, 1)) |
| 41 | assert.Equal(t, 0, toe.Move(0, 2, 2)) |
| 42 | assert.Equal(t, 0, toe.Move(0, 1, 1)) |
| 43 | assert.Equal(t, 0, toe.Move(1, 2, 2)) |
| 44 | assert.Equal(t, 0, toe.Move(1, 0, 1)) |
| 45 | assert.Equal(t, 2, toe.Move(2, 2, 2)) |
| 46 | } |
| 47 | |
| 48 | func TestTicTacToeNoWins(t *testing.T) { |
| 49 | toe := Constructor(3) |
nothing calls this directly
no test coverage detected