Esempio n. 1
0
        public void CountTheWords_NumberOfWords_Wordl()
        {
            //Arrange
            string input  = "Basketball";
            string output = "I love Basketball";
            int    count  = 1;

            // Act
            int result = RepeatCounter.CountTheWords_Word(input, RepeatCounter.SplitTheText(output));

            //Assert
            Assert.AreEqual(count, result);
        }