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

            SpaceMapper mapper = new SpaceMapper(input);
            int         result = mapper.CountActivePart2();

            Console.WriteLine("Active Cubes: " + result);
        }
Example #2
0
        public void Day17Part2()
        {
            // Arrange
            string[]    input  = Helper.ParseInput(@"Inputs\\Day17_example.txt");
            SpaceMapper mapper = new SpaceMapper(input);

            //Act
            int result = mapper.CountActivePart2();

            //Assert
            Assert.AreEqual(848, result);
        }