public void TestMakeReverse() { string sample = "Test String"; Assert.AreEqual("gnirtS tseT", ChangeMyString.MakeReverse(sample)); }
public void TestMakeAllUpperCase() { string sample = "Test String"; Assert.AreEqual("TEST STRING", ChangeMyString.MakeAllUpperCase(sample)); }
public void TestMUCReturnsString() { string sample = "Test String"; Assert.IsInstanceOfType(ChangeMyString.MakeAllUpperCase(sample), typeof(string)); }
public void TestMRReturnsString() { string sample = "Test String"; Assert.IsInstanceOfType(ChangeMyString.MakeReverse(sample), typeof(string)); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Console.WriteLine(ChangeMyString.makeAllUppercase("Hello World")); Console.WriteLine(ChangeMyString.makeReverse("Hello World")); }