Exemple #1
0
        public void ReturnZeroWhenTheInputIsEmpty()
        {
            //Arrange
            var inputString = string.Empty;

            //Act
            var wordCounterer = new WordCounterer();
            int numberOfWords = wordCounterer.NumberOfWords(inputString);

            //Assert
            Assert.AreEqual(numberOfWords, 0);
        }
Exemple #2
0
        public void ReturnOneWhenTheInputStringContainsTheWordMother()
        {
            //Arrange
            var inputString = "Mother";

            //Act
            var wordCounterer = new WordCounterer();

            int

            //Assert
        }