Пример #1
0
        public void CleanList_CleanSearchListOfAnyBookendPunctuation_List()
        {
            //Arrange
            RepeatCounter newRepeatCounter = new RepeatCounter("", "i 'can' swim!");
            List <string> expected         = new List <string>()
            {
                "i", "can", "swim"
            };

            //Act
            newRepeatCounter.CleanList();
            List <string> actual = newRepeatCounter.GetSearchList();

            //Assert
            CollectionAssert.AreEqual(expected, actual);
        }