Example #1
0
 public void WorldLocationElevationTest()
 {
     WorldLocation location = new WorldLocation(0, 0, 0, 0, 0).SetElevation(123.4f);
     Assert.AreEqual(123.4f, location.Location.Y);
     location = location.ChangeElevation(-10.2f);
     Assert.AreEqual(113.2f, location.Location.Y, EqualityPrecisionDelta.FloatPrecisionDelta);
 }