@Test public void testClearAllByColor() { abg.clearAllByColor(Color.WHITE); assertTrue(abg.getAllPiecesByColor(Color.WHITE).size() == 0); }
@Test public void testGetAllByColor() { ArrayList<GamePiece> game_piece = abg.getAllPiecesByColor(Color.WHITE); assertTrue(game_piece.size() == 16); }