Exemple #1
0
        static void Main(string[] args)
        {
            var boot = new Boot(File.ReadAllLines("../input.txt"));

            //Part One
            Console.WriteLine($"{boot.ExecuteBoot()}");

            //Part One
            Console.WriteLine($"{boot.ExecuteBootWithCorrection()}");
        }
Exemple #2
0
        public void PartOneTest()
        {
            var subject = new Boot(GetExampleInput());

            Assert.Equal(5, subject.ExecuteBoot());
        }