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

            // Act
            var result = Day13Solver.Part1Solution(lines);

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

            // Act
            var result = Day13Solver.Part1Solution(input);

            // Assert
            Assert.Equal(expected, result);
        }
Esempio n. 3
0
 public void SetUp()
 {
     _solver = new Day13Solver();
     _parser = new Day13Parser();
 }
Esempio n. 4
0
 public void SetUp()
 {
     _solver = new Day13Solver();
     _input  = new Day13Input();
 }