예제 #1
0
        public void TestPartTwo1()
        {
            StringInput input    = new StringInput("R8", "R4", "R4", "R8");
            Day1Solver  solution = new Day1Solver();

            solution.GetSolution(input).SecondPart.Should().Be("4");
        }
예제 #2
0
        public void TestPartOne3()
        {
            StringInput input    = new StringInput("R5", "L5", "R5", "R3");
            Day1Solver  solution = new Day1Solver();

            solution.GetSolution(input).FirstPart.Should().Be("12");
        }