Assert.assertEquals(new XYLocation(1, 2), board.getLocationOf(8));
}
@Test
public void testGetValueAt() {
Assert.assertEquals(5, board.getValueAt(new XYLocation(0, 0)));
Assert.assertEquals(4, board.getValueAt(new XYLocation(0, 1)));
Assert.assertEquals(0, board.getValueAt(new XYLocation(0, 2)));
Assert.assertEquals(6, board.getValueAt(new XYLocation(1, 0)));
Assert.assertEquals(1, board.getValueAt(new XYLocation(1, 1)));
Assert.assertEquals(8, board.getValueAt(new XYLocation(1, 2)));
Assert.assertEquals(7, board.getValueAt(new XYLocation(2, 0)));
Assert.assertEquals(3, board.getValueAt(new XYLocation(2, 1)));
Assert.assertEquals(2, board.getValueAt(new XYLocation(2, 2)));
}