(t *testing.T)
| 26 | } |
| 27 | |
| 28 | func TestTicTacToeOWinsRow(t *testing.T) { |
| 29 | toe := Constructor(3) |
| 30 | assert.Equal(t, 0, toe.Move(0, 0, 1)) |
| 31 | assert.Equal(t, 0, toe.Move(1, 0, 2)) |
| 32 | assert.Equal(t, 0, toe.Move(0, 2, 1)) |
| 33 | assert.Equal(t, 0, toe.Move(1, 1, 2)) |
| 34 | assert.Equal(t, 0, toe.Move(2, 2, 1)) |
| 35 | assert.Equal(t, 2, toe.Move(1, 2, 2)) |
| 36 | } |
| 37 | |
| 38 | func TestTicTacToeOWinsCol(t *testing.T) { |
| 39 | toe := Constructor(3) |
nothing calls this directly
no test coverage detected