コード例 #1
0
        public void RepeatCounter_AllSymbolRemover_HelloWorld()
        {
            // Arrange
            RepeatCounter newRepeatCounter = new RepeatCounter();

            // Act
            newRepeatCounter.SetWordAndSentence("World,", "Hello World.");
            newRepeatCounter.AllSymbolRemover();
            newRepeatCounter.FindMatch();
            int result = newRepeatCounter.Count;

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