예제 #1
0
        public void GeoCoordinate_Unit_GetDistanceInKilometersFrom_OtherIsEquivalent()
        {
            Double latitude = -32;
            Double longitude = 32;
            GeoCoordinate target = new GeoCoordinate(latitude, longitude);
            GeoCoordinate other = new GeoCoordinate(latitude, longitude);

            Double actual = target.GetDistanceInKilometersFrom(other);
            Assert.AreEqual(0d, actual);
        }