Ejemplo n.º 1
0
        public void Icao(double altitude, double pressure, double temperature)
        {
            var atmosphere = Atmosphere.CreateICAOAtmosphere(new Measurement <DistanceUnit>(altitude, DistanceUnit.Meter));

            atmosphere.Pressure.In(PressureUnit.Pascal).Should().BeApproximately(pressure, 1);
            atmosphere.Temperature.In(TemperatureUnit.Celsius).Should().BeApproximately(temperature, 0.1);
        }