}
@Test
public void testSetBoard() {
List<XYLocation> passedIn = new ArrayList<XYLocation>();
passedIn.add(new XYLocation(1, 1));
passedIn.add(new XYLocation(0, 2));
passedIn.add(new XYLocation(2, 2));
passedIn.add(new XYLocation(2, 1));
passedIn.add(new XYLocation(0, 1));
passedIn.add(new XYLocation(0, 0));
passedIn.add(new XYLocation(1, 0));
passedIn.add(new XYLocation(2, 0));
passedIn.add(new XYLocation(1, 2));
board.setBoard(passedIn);
Assert.assertEquals(new XYLocation(1, 1), board.getLocationOf(0));
Assert.assertEquals(new XYLocation(0, 2), board.getLocationOf(1));
}