Beispiel #1
0
        public void TestMethod1()
        {
            // Arrange
            var source   = "SonicScrewderiver";
            var expected = "Sonic Screwdriver";
            var handler  = new StringHandler();

            // Act
            var actual = handler.InsertSpaces(source);

            // Assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public void StringHandlerTest()
        {
            //arrange

            var source   = "ElPepe";
            var expected = "El Pepe";

            //act
            var actual = StringHandler.InsertSpaces(source);

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