예제 #1
0
 public void Rot13EncryptTestOnStringWhiteSpaces()
 {
     Rot13 target = new Rot13();
     String inputString = "test string";
     String expected = "grfg fgevat";
     String actual;
     actual = target.Encrypt(inputString);
     Assert.AreEqual(expected, actual);
 }
예제 #2
0
 public void Rot13EncryptTestOnNullString()
 {
     Rot13 target = new Rot13();
     String inputString = null;
     target.Encrypt(inputString);
 }