Beispiel #1
0
        public void Test2()
        {
            var result = new Day1Resolver(new FinderOfTwo()).Resolve(new[] { 2017, 3 });

            result.Should().Be(6051);
        }
Beispiel #2
0
        public void ResolvePartTwo()
        {
            var result = new Day1Resolver(new FinderOfThree()).Resolve(File.ReadAllLines("./input/input1.txt").Select(l => Convert.ToInt32(l)).ToArray());

            result.Should().Be(276432018);
        }
Beispiel #3
0
        public void Test1()
        {
            var result = new Day1Resolver(new FinderOfTwo()).Resolve(new[] { 2018, 2 });

            result.Should().Be(4036);
        }