예제 #1
0
        public void TestPart2Solution(string inputFile, int expected)
        {
            // Arrange
            long[] input = Helpers.ReadIntCodeInput($"../../../{inputFile}");

            // Act
            var result = Day11Solver.Part2Solution(input);

            // Assert
            Assert.Equal(expected, result);
        }
예제 #2
0
        public void TestPart2Solution(string inputFile, int expected)
        {
            // Arrange
            string[] lines = System.IO.File.ReadAllLines($"../../../{inputFile}");

            // Act
            var result = Day11Solver.Part2Solution(lines);

            // Assert
            Assert.Equal(expected, result);
        }