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

            // Act
            var result = Day9Solver.Part2Solution(input, inputValue);

            // Assert
            Assert.Equal(expected, result);
        }
예제 #2
0
 public void SetUp()
 {
     _solver = new Day9Solver();
     _input  = new Day9Input();
 }