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