Пример #1
0
        public void FlightService_CalculateFuelVolume(double distance, double consumption, double takeOffStress, double expectedVolume)
        {
            var flightService = new FlightService();

            var resultingVolume = flightService.CalculateFuelVolumeForFlight(distance, consumption, takeOffStress);

            Assert.AreEqual(expectedVolume, resultingVolume);
        }