public void SolutionPart2() { // Arrange string filePath = $"{new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName}/Day15/Resources/input.txt"; Day15 day = new Day15(); // Act var result = day.Compute(filePath, 30000000); // Result _output.WriteLine(result.ToString()); }
public void Test1Part2() { // Arrange string filePath = $"{new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName}/Day15/Resources/test.txt"; Day15 day = new Day15(); // Act long result = day.Compute(filePath, 30000000); // Assert result.Should().Be(175594); }