Esempio n. 1
0
        public void PartOneTest(string[] input, long expected)
        {
            // Arrange
            var target = new Day25(input);

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

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(expected, result);
        }
Esempio n. 2
0
        public void PartOne()
        {
            // Arrange
            var target = new Day25();

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

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(19980801L, result);
        }
        public void PartTwoTest()
        {
            // Arrange
            var target = new Day25();

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

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("Merry Christmas!", result);
        }