예제 #1
0
        public void TestPartTwo2()
        {
            StringInput input    = new StringInput("ULL", "RRDDD", "LURDL", "UUUUD");
            Day2Solver  solution = new Day2Solver();

            solution.GetSolution(input).SecondPart.Should().Be("5DB3");
        }
예제 #2
0
        public void TestPartOne4()
        {
            StringInput input    = new StringInput(@"");
            Day2Solver  solution = new Day2Solver();

            solution.GetSolution(input).FirstPart.Should().Be("5");
        }
예제 #3
0
        public void TestPartTwo1()
        {
            StringInput input    = new StringInput("U");
            Day2Solver  solution = new Day2Solver();

            solution.GetSolution(input).SecondPart.Should().Be("5");
        }
예제 #4
0
        public void TestPartOne1()
        {
            StringInput input    = new StringInput("ULL", "RRDDD", "LURDL", "UUUUD");
            Day2Solver  solution = new Day2Solver();

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