예제 #1
0
        public void TestPart2Solution(string inputFile, int wide, int tall, string expected)
        {
            // Arrange
            List <int> input = Helpers.ReadDigits($"../../../{inputFile}");

            // Act
            var result = Day8Solver.Part2Solution(input, wide, tall);

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