Skip to content

Commit

Permalink
remove redundant asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
Algebro7 committed Sep 3, 2024
1 parent b71b4b2 commit fe0bd22
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions megamek/unittests/megamek/server/GameManagerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ void testAddControlWithAdvAtmosphericMergesIntoOneRollAero() {
game.addControlRoll(new PilotingRollData(aero.getId(), 0, "highest damage threshold exceeded"));
gameManager.addControlWithAdvAtmospheric(aero, rolls, reasons);
assertEquals(1, rolls.size());
assertTrue(reasons.toString().contains("critical hit"));
assertTrue(reasons.toString().contains("avionics hit"));
assertTrue(reasons.toString().contains("threshold"));
assertTrue(reasons.toString().contains("highest damage threshold exceeded"));
}

@Test
Expand Down Expand Up @@ -76,9 +72,6 @@ void testAddControlWithAdvAtmosphericMergesIntoOneRollLAM() {
game.addControlRoll(new PilotingRollData(mech.getId(), 0, "highest damage threshold exceeded"));
gameManager.addControlWithAdvAtmospheric(mech, rolls, reasons);
assertEquals(1, rolls.size());
assertTrue(reasons.toString().contains("avionics hit"));
assertTrue(reasons.toString().contains("threshold"));
assertTrue(reasons.toString().contains("highest damage threshold exceeded"));
}

@Test
Expand Down

0 comments on commit fe0bd22

Please sign in to comment.