public void SolutionPart1() { // Arrange string filePath = $"{new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName}/Day18/Resources/input.txt"; Day18 day = new Day18(); // Act var result = day.Compute(filePath, false); // Result _output.WriteLine(result.ToString()); }
public void Test3Part2() { // Arrange string filePath = $"{new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName}/Day18/Resources/test3.txt"; Day18 day = new Day18(); // Act long result = day.Compute(filePath, true); // Assert result.Should().Be(669060); }
public void Test5Part2() { // Arrange string filePath = $"{new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName}/Day18/Resources/test5.txt"; Day18 day = new Day18(); // Act long result = day.Compute(filePath, true); // Assert _output.WriteLine(result.ToString()); }