示例#1
0
        public void SetSubstringValue_SetsEndValue_Int()
        {
            //Arrange
            RepeatCounter newRepeatCounter = new RepeatCounter();

            //Act
            newRepeatCounter.SetSubstringValues("'can'");
            int result = newRepeatCounter.GetEnd();

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