Skip to content

Commit

Permalink
Added more Player testing, should be done now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan45RS authored May 2, 2024
1 parent 9de3bde commit ce3228d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/uta/cse3310/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public void testApp() {
Player P = new Player("abcd", null);
P.setInGameScore(0);
P.incrementScore();
P.setColorChoice("Blue");
P.setGamesWon(1);
assertTrue(P.getGamesWon() != 0);
assertTrue(P.getInGameScore() != 0);

// Chat testing
Expand Down

0 comments on commit ce3228d

Please sign in to comment.