public void Test1() { Cipher_Atbash atbash = new Cipher_Atbash(); string resultEncode = atbash.Encode("Лол работает"); string resultDecode = atbash.decrypt(resultEncode); Assert.AreEqual("Лол работает", resultDecode); Assert.AreEqual("АЭ лЫ,.ЭЩ,7Щ", resultEncode); }
public void encodeToAtabash() { Cipher_Atbash cipher_Atbash = new Cipher_Atbash(); afterText = cipher_Atbash.Encode(beforeText); }