Пример #1
0
        public void FirstStar()
        {
            var actual = new Problem().FirstStar();

            Assert.Equal("15035", actual);
        }
Пример #2
0
        public void SecondStar()
        {
            var actual = new Problem().SecondStar();

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

            Assert.Equal(expected, c);
        }