Beispiel #1
0
        public void FinalFloorRealData()
        {
            const int expected = 74;
            var       floor    = Day1.FinalFloor(LoadFromResource.Load("AdventOfCode.Tests.TestData.Day1.txt"));

            Assert.Equal(expected, floor);
        }
Beispiel #2
0
        public void FinalFloor(string descriptor, int expectedFloor)
        {
            var actual = Day1.FinalFloor(descriptor);

            Assert.Equal(expectedFloor, actual);
        }