Exemplo n.º 1
0
        public void TestWorkOnStrings_Input_a_b_Should_Return_ab()
        {
            //arrange
            var stringA  = "a";
            var stringB  = "b";
            var expected = "ab";
            var target   = new PlayWithTwoStrings();

            //act
            var actual = target.WorkOnStrings(stringA, stringB);

            //acturl
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void TestWorkOnStrings_Input_abcdeFgtrzw_defgGgfhjkwqe_Should_Return_abcDeFGtrzWDEFGgGFhjkWqE()
        {
            //arrange
            var stringA  = "abcdeFgtrzw";
            var stringB  = "defgGgfhjkwqe";
            var expected = "abcDeFGtrzWDEFGgGFhjkWqE";
            var target   = new PlayWithTwoStrings();

            //act
            var actual = target.WorkOnStrings(stringA, stringB);

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