예제 #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);
        }
예제 #2
0
        public void ReturnOneWhenTheInputStringContainsTheWordMother()
        {
            //Arrange
            var inputString = "Mother";

            //Act
            var wordCounterer = new WordCounterer();

            int

            //Assert
        }