示例#1
0
        public void Day5_Part2(string input, int expectedResult)
        {
            // Arrange


            // Act
            var result = Day5.CalculateJumpsTilExit(input, true);

            // Assert
            Assert.AreEqual(expectedResult, result);
        }
示例#2
0
        static void Main(string[] args)
        {
            //Console.WriteLine($"Result is: {result}");

            //var result = Day3.CalculateFirstValLargerThanInput(312051);



            var input2 = @"abcde xyz ecdab
abcde fghij";

            var result = Day5.CalculateJumpsTilExit(input2);


            Console.WriteLine(result);
            Console.ReadLine();
        }