Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }