public void ShouldReverseString1() { var sut = new ReverseThings(); var reversedString = sut.ReverseString1("iman"); Assert.Equal("nami", reversedString); }
private static void ReverseThings() { Console.WriteLine("Reverse Things"); var sut = new ReverseThings(); Console.WriteLine(sut.ReverseString1("iman")); Console.WriteLine(sut.ReverseString2("iman")); Console.WriteLine(sut.ReverseString3("iman")); Console.WriteLine(sut.ReverseString4("iman")); Console.WriteLine(sut.ReverseInteger1(123)); Console.WriteLine(sut.ReverseInteger1(-123)); }