Ejemplo n.º 1
0
        public void SolvePart1()
        {
            var subject = new Day5Solution();

            subject.SolvePart1("dabAcCaCBAcCcaDA")
            .Should().Be(10);
        }
Ejemplo n.º 2
0
        public void Day5_Part1()
        {
            // Arrange
            var testInput = new int[] { 0, 3, 0, 1, -3 };

            // Act
            var result = _itemUnderTest.SolvePart1(testInput);

            // Assert
            Assert.AreEqual(5, result);
        }