Example #1
0
 public void TestShotResultNonDefaultConstructor()
 {
     ShotResult shotResult = new ShotResult(State.hit);
     Assert.IsTrue(shotResult.getState().Equals(State.hit));
 }
Example #2
0
 public void TestShotResultGettersAndSetters()
 {
     ShotResult shotResult = new ShotResult();
     shotResult.setState(State.miss);
     Assert.IsTrue(shotResult.getState().Equals(State.miss));
 }