src/test/java/com/webcheckers/model/GameTest.java
/**
     * Test for seeing if Player in game
     */
Test for seeing if Player in game
Test for seeing if Player in game
@Test
    public void player_in_game() {
        otherPlayer = mock(Player.class);
        assertTrue(CuT.isPlayerInGame(redPlayer));
        assertTrue(CuT.isPlayerInGame(whitePlayer));
        assertFalse(CuT.isPlayerInGame(otherPlayer));
    }
@ Test public void player_in_game ( ) { otherPlayer = mock ( Player . class ) ; assertTrue ( CuT . isPlayerInGame ( redPlayer ) ) ; assertTrue ( CuT . isPlayerInGame ( whitePlayer ) ) ; assertFalse ( CuT . isPlayerInGame ( otherPlayer ) ) ; }
Test for seeing if Player in game
Test for seeing if Player in game