예제 #1
0
        public void PartOneTest()
        {
            // Arrange
            var target = new Day14();

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

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(18626, result);
        }
예제 #2
0
        public void PartTwoTest()
        {
            // Arrange
            var target = new Day14();

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

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(20092, result);
        }
예제 #3
0
        public void PartTwoTest(string[] input, int expected)
        {
            // Arrange
            var target = new Day14(input);

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

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