public void FinalAnswer() { long fuelRequired = Part2.CalculateFuelRequiredForMultiples(finalMassList); long expectedFuel = 5099916; Assert.Equal(fuelRequired, expectedFuel); }
static void Main(string[] args) { var solve1 = new Part1().Solve(); Console.WriteLine(solve1); var solve2 = new Part2().Solve(); Console.WriteLine(solve2); }
public void BaseCases(long mass, long expectedFuel) { long fuelRequired = Part2.CalculateFuelRequired(mass); Assert.Equal(expectedFuel, fuelRequired); }