Example #1
0
 public void RandomTests()
 {
     for (var i = 0; i < 40; i++)
     {
         string randomInput   = RandomInput();
         string encryptInput  = EncryptThis(randomInput);
         string decipherInput = KataDecipherThis.DecipherThis(encryptInput);
         Assert.AreEqual(randomInput, decipherInput);
     }
 }
Example #2
0
 public void BasicTests(string input, string expected)
 {
     Assert.AreEqual(expected, KataDecipherThis.DecipherThis(input));
 }