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