示例#1
0
        public static void Part2(string[] input)
        {
            Helper.PrintChallengePart("Part 2");

            TicketTranslator ticketJobby = new TicketTranslator(input);

            long result = ticketJobby.MultiplyTicketProperty("departure");

            Console.WriteLine("Your Value: " + result);
        }
示例#2
0
        public void Day16Part2()
        {
            // Arrange
            string[]         input       = Helper.ParseInput(@"Inputs\\Day16_example2.txt");
            TicketTranslator ticketJobby = new TicketTranslator(input);

            //Act
            long result = ticketJobby.MultiplyTicketProperty("seat");

            //Assert
            Assert.AreEqual(13, 13);
        }