public void TestPartOne(string expected, string[] input) { Solver s = new Day17Solver(); string result = s.SolvePartOne(input); Assert.That(result, Is.EqualTo(expected)); }
public void TestPart1Solution(string inputFile, int expected) { // Arrange string[] lines = System.IO.File.ReadAllLines($"../../../{inputFile}"); // Act var result = Day17Solver.Part1Solution(lines); // Assert Assert.Equal(expected, result); }
public void TestPart1Solution(string inputFile, int expected) { // Arrange long[] input = Helpers.ReadIntCodeInput($"../../../{inputFile}"); // Act var result = Day17Solver.Part1Solution(input); // Assert Assert.Equal(expected, result); }