Example #1
0
        public void SimpleTest()
        {
            //arange
            var reverseHelper = new ReverseHelper();

            //act
            var result = reverseHelper.Reverse("abc def");

            //assert
            Assert.True(result.Equals("cba fed"), "Simple Reverse works");
        }
Example #2
0
        public void ComplexTest()
        {
            //arange
            var reverseHelper = new ReverseHelper();

            //act
            var result = reverseHelper.Reverse($"abc de\u0301f");

            //assert
            Assert.True(result.Equals("cba fe\u0301d"), "Complex Reverse works");
        }