Beispiel #1
0
        public void AstronomicalUnitsToKilometers()
        {
            double expected = 149597870.69;
            var    actual   = DistanceHelper.AstronomicalUnitsToKilometers(1);

            Assert.Equal(expected, actual);

            actual = DistanceHelper.AstronomicalUnitsToKilometers(2);
            Assert.Equal(expected * 2, actual);
        }