示例#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");
        }