Esempio n. 1
0
        public async Task Day14_Part1_Test()
        {
            //var result = await fixture.Client.GetAsync("/2019/day/14/input");
            //result.EnsureSuccessStatusCode();
            //var input = await result.Content.ReadAsStringAsync();
            var input     = Day14Input;
            var day14     = new Day14();
            var neededOre = day14.CalculateNeededOre(input, neededOutput: (material: "FUEL", amount: 1));

            Assert.Equal(273638, neededOre);
        }