Exemplo n.º 1
0
        public void ROT13_Encrption_UpperCase()
        {
            IEncryption rot13 = new ROT13();

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

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

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

            Assert.AreEqual(expected, actual);
        }