@@ -0,0 +1,1752 @@
+/**%0A *%0A * @author Ryan J. Marcotte%0A */%0A%0Apackage game;%0A%0Aimport org.junit.*;%0Aimport static org.junit.Assert.*;%0A%0Aimport java.util.ArrayList;%0A%0Apublic class BishopTest%0A%7B%0A    @Test%0A    public void testMoveLocations()%0A    %7B%0A        ChessBoard board = new ChessBoard();%0A%0A        final int B1_EXPECTED%5B%5D = %7B29, 36, 43, 48, 50%7D;%0A        final int B2_EXPECTED%5B%5D = %7B11, 15, 20, 22, 36, 38, 43, 50, 57%7D;%0A        final int B3_EXPECTED%5B%5D = %7B29, 31, 45, 47, 52, 59%7D;%0A        final int B4_EXPECTED%5B%5D = %7B9, 11, 16, 20%7D;%0A%0A        Bishop b1 = new Bishop(board.getSquareAt(57));%0A        Bishop b2 = new Bishop(board.getSquareAt(29));%0A        Bishop b3 = new Bishop(board.getSquareAt(38));%0A        Bishop b4 = new Bishop(board.getSquareAt(2));%0A%0A        ArrayList%3CSquare%3E b1Actual = b1.generateMoveLocations();%0A        ArrayList%3CSquare%3E b2Actual = b2.generateMoveLocations();%0A        ArrayList%3CSquare%3E b3Actual = b3.generateMoveLocations();%0A        ArrayList%3CSquare%3E b4Actual = b4.generateMoveLocations();%0A%0A        assertEquals(B1_EXPECTED.length, b1Actual.size());%0A%0A        for (int i = 0; i %3C B1_EXPECTED.length; i++)%0A            assertEquals(B1_EXPECTED%5Bi%5D, b1Actual.get(i).getIntLocation());%0A%0A        assertEquals(B2_EXPECTED.length, b2Actual.size());%0A%0A        for (int i = 0; i %3C B2_EXPECTED.length; i++)%0A            assertEquals(B2_EXPECTED%5Bi%5D, b2Actual.get(i).getIntLocation());%0A%0A        assertEquals(B3_EXPECTED.length, b3Actual.size());%0A%0A        for (int i = 0; i %3C B3_EXPECTED.length; i++)%0A            assertEquals(B3_EXPECTED%5Bi%5D, b3Actual.get(i).getIntLocation());%0A%0A        assertEquals(B4_EXPECTED.length, b4Actual.size());%0A%0A        for (int i = 0; i %3C B4_EXPECTED.length; i++)%0A            assertEquals(B4_EXPECTED%5Bi%5D, b4Actual.get(i).getIntLocation());%0A%0A    %7D%0A%7D%0A

add test for move locations for the bishop