예제 #1
0
        public void ShouldHandleMultiplePassphrases()
        {
            var target = new Day4();

            var result = target.CountValid(new[] { "aa bb cc dd ee", "aa bb cc dd ee ff" });

            result.Should().Be(2);
        }
예제 #2
0
        public void ShouldSolve()
        {
            var target = new Day4();

            var result = target.CountValid(input);

            _output.WriteLine(result.ToString());
        }
예제 #3
0
        public void Example3()
        {
            var target = new Day4();

            var result = target.CountValid(new[] { "aa bb cc dd aaa" });

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