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

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

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("c6697b55", result);
        }
Пример #2
0
        public void PartTwoTest()
        {
            // Arrange
            var target = new Day05();

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

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

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

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