public void Test_Convert_complete_string(string value, string expected) { var cut = new Rot13Converter(); var actual = cut.Convert(value); Assert.Equal(expected, actual); }
public void Test_encode_digits(string value, string expected) { var cut = new Rot13Converter(13, true); var actual = cut.Convert(value); Assert.Equal(expected, actual); }
public void Test_Convert_with_rot1(string value, string expected) { var cut = new Rot13Converter(1); var actual = cut.Convert(value); Assert.Equal(expected, actual); }
public static string ToRot13(this string message) { return(Rot13Converter.Convert(message)); }