public void ShipWasHit_WhenTrueHitCounterIncreases() { var plus_one = 1; var before = ControlFlow.HitCounter; ControlFlow.ShipWasHit(true); var after = ControlFlow.HitCounter; Assert.Equal(after, before + plus_one); }
public void ShipWasHit_WhenTrueHitCounterIncreases() { var plus_one = 1; var before = ControlFlow.HitCounter; ControlFlow.ShipWasHit(true); var after = ControlFlow.HitCounter; Assert.Equal(after, before + plus_one); }