public void RunApp() { var resource = _resourceFactory.GenerateResource(); Console.WriteLine(_fuelCalculator.CalculateFuelRequirement(resource.ModuleWeights)); Console.ReadLine(); }
public void CalculateModuleFuelRequirement(int givenMass, int expectedFuel) { Assert.Equal(expectedFuel, FuelCalculator.CalculateFuelRequirement(givenMass)); }