Ejemplo n.º 1
0
        public void EmptyStringTest()
        {
            //act
            OutputEvenIndex inputString = new OutputEvenIndex(String.Empty);

            //assert
            Assert.Null(inputString.DeleteEvenIndex());
        }
Ejemplo n.º 2
0
        public void EvenIndexWithSymbolsTest()
        {
            //arrange
            string str    = "r*2**jn// b _R _bBR_' ";
            string result = "r2*n/b_ bR'";
            //act
            OutputEvenIndex inputString = new OutputEvenIndex(str);

            //assert
            Assert.Equal(result, inputString.DeleteEvenIndex());
        }
Ejemplo n.º 3
0
        public void EvenIndexTest()
        {
            //arrange
            string str    = "rjnbrb";
            string result = "rnr";
            //act
            OutputEvenIndex inputString = new OutputEvenIndex(str);

            //assert
            Assert.Equal(result, inputString.DeleteEvenIndex());
        }