public void TestInput() { var data = InputParser.ParseDelimited("input_data/day7-test.txt"); var optimizer = new FuelOptimizer(data); Assert.Equal(37, optimizer.OptimalFuelConsumption()); }
public void PuzzelOne() { var data = InputParser.ParseDelimited("input_data/day7-1.txt"); var optimizer = new FuelOptimizer(data); Assert.Equal(328187, optimizer.OptimalFuelConsumption()); }