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

            var fuelForFuel = calculator.CalcFuelforModuleAndFuel(654);

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

            var fuelForFuel = calculator.CalcFuelforModuleAndFuel(2);

            fuelForFuel.ShouldBe(2);
        }