Beispiel #1
0
        public void SolvePuzzle()
        {
            string input = GetPuzzleInput();

            Assert.Equal(58975, CorruptionChecksum.getMinMaxAggregate(input));
            Assert.Equal(308, CorruptionChecksum.getDivisionAggregate(input));
        }
Beispiel #2
0
        public void PartOne()
        {
            string input = @"
5 1 9 5
7 5 3
2 4 6 8
";

            Assert.Equal(18, CorruptionChecksum.getMinMaxAggregate(input));
        }