Esempio n. 1
0
        public void AccumulateFuelIfNotZero()
        {
            var calculator = new FuelCalculator();

            var fuelForFuel = calculator.CalcFuelforModuleAndFuel(654);

            fuelForFuel.ShouldBe(966);
        }
Esempio n. 2
0
        public void ReturnFuelNeededForFuel()
        {
            var calculator = new FuelCalculator();

            var fuelForFuel = calculator.CalcFuelforModuleAndFuel(2);

            fuelForFuel.ShouldBe(2);
        }