Ejemplo n.º 1
0
        public void TestPart2Solution(string inputFile, int expected)
        {
            // Arrange
            string[] lines = System.IO.File.ReadAllLines($"../../../{inputFile}");

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

            // Assert
            Assert.Equal(expected, result);
        }
Ejemplo n.º 2
0
        public void TestPart2Solution(string inputFile, int expected)
        {
            // Arrange
            long[] input = Helpers.ReadIntCodeInput($"../../../{inputFile}");

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

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