Example #1
0
        public void FirstStar()
        {
            var actual = new Problem().FirstStar();

            Assert.Equal("15035", actual);
        }
Example #2
0
        public void SecondStar()
        {
            var actual = new Problem().SecondStar();

            Assert.Equal("19968", actual); // 4 min 10 s
        }
Example #3
0
        public void Find_Match(string input, char?expected)
        {
            var c = Problem.FirstRepeatedCharacter(input, 3);

            Assert.Equal(expected, c);
        }