public void TwoRockets_AskForAdjacentPosition_Return_Crash() { var landingArea = new LandingArea(100, 100, new Coordinate(5, 5), 10, 10); var result = landingArea.AskForPosition(7, 7); var result2 = landingArea.AskForPosition(8, 7); Assert.AreEqual(result2, LandingCondition.Clash); }
public void AskForPosition_Return_OutOfPlatform() { var landingArea = new LandingArea(100, 100, new Coordinate(5, 5), 10, 10); var result = landingArea.AskForPosition(15, 16); Assert.AreEqual(result, LandingCondition.OutOfPlatform); }
public void AskForPosition_Return_OkForLanding() { var landingArea = new LandingArea(100, 100, new Coordinate(5, 5), 10, 10); var result = landingArea.AskForPosition(5, 5); Assert.AreEqual(result, LandingCondition.OkForLanding); }