Beispiel #1
0
        public void TestSingleGroup()
        {
            var input = @"abcx
abcy
abcz";

            var day6B  = new Day6B();
            var result = day6B.Solve(input);

            result.Should().Be(3);
        }
Beispiel #2
0
        public void TestMultipleGroups()
        {
            var input = @"abc

a
b
c

ab
ac

a
a
a
a

b";

            var day6B  = new Day6B();
            var result = day6B.Solve(input);

            result.Should().Be(6);
        }