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