@@ -0,0 +1,1683 @@
+/**%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 QueenTest%0A%7B%0A    @Test%0A    public void testMoveLocations()%0A    %7B%0A        ChessBoard board = new ChessBoard();%0A%0A        final int Q1_EXPECTED%5B%5D = %7B26, 30, 35, 38, 44, 46, 53, 54,%0A                                   55, 56, 57, 58, 59, 60, 61, 63%7D;%0A        final int Q2_EXPECTED%5B%5D = %7B3 , 6 , 12, 14, 21, 22, 23, 27, 28, 29,%0A                                   31, 37, 38, 39, 44, 46, 51, 54, 58, 62%7D;%0A        final int Q3_EXPECTED%5B%5D = %7B2 , 5 , 8 , 10, 12, 17, 18, 19,%0A                                   24, 25, 27, 28, 29, 33, 34, 35,%0A                                   40, 42, 44, 50, 53, 58, 62%7D;%0A%0A        Queen q1 = new Queen(board.getSquareAt(62));%0A        Queen q2 = new Queen(board.getSquareAt(30));%0A        Queen q3 = new Queen(board.getSquareAt(26));%0A%0A        ArrayList%3CSquare%3E q1Actual = q1.generateMoveLocations();%0A        ArrayList%3CSquare%3E q2Actual = q2.generateMoveLocations();%0A        ArrayList%3CSquare%3E q3Actual = q3.generateMoveLocations();%0A%0A        assertEquals(Q1_EXPECTED.length, q1Actual.size());%0A%0A        for (int i = 0; i %3C Q1_EXPECTED.length; i++)%0A            assertEquals(Q1_EXPECTED%5Bi%5D, q1Actual.get(i).getIntLocation());%0A %0A        assertEquals(Q2_EXPECTED.length, q2Actual.size());%0A%0A        for (int i = 0; i %3C Q2_EXPECTED.length; i++)%0A            assertEquals(Q2_EXPECTED%5Bi%5D, q2Actual.get(i).getIntLocation());%0A%0A        assertEquals(Q3_EXPECTED.length, q3Actual.size());%0A%0A        for (int i = 0; i %3C Q3_EXPECTED.length; i++)%0A            assertEquals(Q3_EXPECTED%5Bi%5D, q3Actual.get(i).getIntLocation());%0A      %7D%0A%7D%0A

add test for move locations for the queen