Esempio n. 1
0
        public override string SecondStar()
        {
            var input  = ReadInput();
            var result = GroupParser.CountGroupScore(input).CanceldGarbage;

            return(result.ToString());
        }
Esempio n. 2
0
        public override string FirstStar()
        {
            var input  = ReadInput();
            var result = GroupParser.CountGroupScore(input).GroupScore;

            return(result.ToString());
        }
Esempio n. 3
0
        public void Problem1_Example1(string input, int expectedScore)
        {
            var score = GroupParser.CountGroupScore(input);

            Assert.Equal(expectedScore, score.GroupScore);
        }