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