Exemplo n.º 1
0
        public void AssertDescriptionInputs(string input, int output)
        {
            PokemonCounter pokeBallTest = new PokemonCounter();

            pokeBallTest.ProcessLine(input);

            Assert.Equal(output, pokeBallTest.Count);
        }
Exemplo n.º 2
0
        public void NullLineReturnsOne()
        {
            //Given
            string         line         = "";
            PokemonCounter pokeBallTest = new PokemonCounter();

            //When
            pokeBallTest.ProcessLine(line);
            //Then
            Assert.Equal(1, pokeBallTest.Count);
        }