예제 #1
0
        public void SolutionPart2()
        {
            // Arrange
            string filePath =
                $"{new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName}/Day19/Resources/input.txt";
            Day19 day = new Day19();

            // Act
            var result = day.Compute(filePath, true);

            // Result
            _output.WriteLine(result.ToString());
        }
예제 #2
0
        public void Test1Part2()
        {
            // Arrange
            string filePath =
                $"{new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName}/Day19/Resources/test2.txt";
            Day19 day = new Day19();

            // Act
            long result = day.Compute(filePath, true);

            // Assert
            result.Should().Be(12);
        }