public static void TestRevMethodExcept(string input) { Assert.Throws <InvalidOperationException>(() => StringsProblem.ReverseString(input)); }
public static void TestRevMethod(string input, string expected) { string current = StringsProblem.ReverseString(input); Assert.AreEqual(expected, current); }