Пример #1
0
        public void PartOne()
        {
            // Arrange
            var target = new Day09();

            // Act
            var result = target.Debug(Part.One);

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(141, result);
        }
Пример #2
0
        public void PartTwo()
        {
            // Arrange
            var target = new Day09();

            // Act
            var result = target.Debug(Part.Two);

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(736, result);
        }
Пример #3
0
        public void PartTwoTest(string[] input, int expected)
        {
            // Arrange
            var target = new Day09(input);

            // Act
            var result = target.Debug(Part.Two);

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(expected, result);
        }