Esempio n. 1
0
        public void ROT13_Decryption_UpperCase()
        {
            IEncryption rot13 = new ROT13();

            string expected = "TEST";
            string actual   = rot13.Decrypt("GRFG");

            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
        public void ROT13_Decryption_LowerCase()
        {
            IEncryption rot13 = new ROT13();

            string expected = "test";
            string actual   = rot13.Decrypt("grfg");

            Assert.AreEqual(expected, actual);
        }