Пример #1
0
        public static void Part1(string[] input)
        {
            Helper.PrintChallengePart("Part 1");

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

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

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

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