Skip to content

Commit

Permalink
removed merge headers from Matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Doan04 committed May 2, 2024
1 parent fb191b6 commit 2a5e9a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
10 changes: 0 additions & 10 deletions src/main/java/uta/cse3310/Matrix.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ public class Matrix {

//testing
public ArrayList<Character> fillerCharactersUsed = new ArrayList<Character>();
<<<<<<< HEAD
<<<<<<< HEAD
=======

>>>>>>> eee088b031a139329acbace8750ae733f277fea4
=======

=======
>>>>>>> ea35d09 (Update)
>>>>>>> 415fabb (Update)

//non-default constructor
Matrix(String filename){
Expand Down
26 changes: 0 additions & 26 deletions src/test/java/uta/cse3310/LobbyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,31 +65,6 @@ public void testUpdateGamesAvailable() {
assertEquals(2, lobby.gamesAvailable); // Only two games are open
}

<<<<<<< HEAD
public void testlobbylist(){
int anyplayer = 0;
ArrayList<Player> players = new ArrayList<>();
WebSocket socket1 = Mockito.mock(WebSocket.class);
WebSocket socket2 = Mockito.mock(WebSocket.class);
WebSocket socket3 = Mockito.mock(WebSocket.class);
Player player1 = new Player("Alice", socket1);
Player player2 = new Player("Bob", socket2);
Player player3 = new Player("Mike", socket3);
players.add(player1);
players.add(player2);
players.add(player3);
player1.isReady = false;
player2.isReady = true;
player3.isReady = true;
Lobby lobby = new Lobby(players);
assertEquals(3, lobby.numPlayers);
for(int i = 0; i < lobby.numPlayers; i++){
if(lobby.playerStatuses.get(i) == true || lobby.playerStatuses.get(i) == false){
anyplayer++;
}
}
assertEquals(3, anyplayer);
=======
private Lobby lobby;
private Player player1;
private Player player2;
Expand Down Expand Up @@ -121,7 +96,6 @@ public void testPlayerStatusChangesInLobbyAfterJoiningGame() {
// Verify player status in lobby after joining game
lobby.updateLobby(game.players);
assertFalse("Player should not be ready in the lobby after joining a game", lobby.playerStatuses.get(0));
>>>>>>> 557afd4 (Update)
}

}

0 comments on commit 2a5e9a0

Please sign in to comment.