Esempio n. 1
0
        public void PartOne_ShouldReturn_ExpectedValue()
        {
            // Arrange
            var daySolution = new AdventOfCode2020.Solutions.Day09.Day9();

            // Act
            var result = daySolution.GetResult(Part.One);

            // Assert
            Assert.Equal("167829540", result);
        }
Esempio n. 2
0
        public void PartTwo_ShouldReturn_ExpectedValue()
        {
            // Arrange
            var daySolution = new AdventOfCode2020.Solutions.Day09.Day9();

            // Act
            var result = daySolution.GetResult(Part.Two);

            // Assert
            Assert.Equal("28045630", result);
        }