public void ReverseString() { //char[] array = new char[] { 'M', 'I', 'C', 'R', 'O', 'S', 'T' }; string inputstring = "microsoft"; string expected = "tfosorcim"; string result = new string(StringReversal.Reverse(inputstring.ToCharArray())); Assert.AreEqual(result, expected); }
public void StringReversal_Reverse() { var logic = new StringReversal(); Assert.Pass("olleH", logic.Reverse("Hello")); }