Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public void ShouldSolve()
        {
            var target = new Day4();

            var result = target.CountValid(input);

            _output.WriteLine(result.ToString());
        }
Exemplo n.º 3
0
        public void Example3()
        {
            var target = new Day4();

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

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