Esempio n. 1
0
        public void StringReverse_Encryption_LowerCase()
        {
            IEncryption stringReverse = new StringReverse();

            string expected = "tset";
            string actual = stringReverse.Encrypt("test");

            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
        public void StringReverse_Decryption_UpperCase()
        {
            IEncryption stringReverse = new StringReverse();

            string expected = "TEST";
            string actual = stringReverse.Decrypt("TSET");

            Assert.AreEqual(expected, actual);
        }