Example #1
0
        public void TestEncryptBy2()
        {
            string test   = "abc";
            string result = EncryptLine.Encrypt(test, 3);

            Assert.AreEqual("def", result);
        }
Example #2
0
        public void TestEncryptSpace()
        {
            string test   = " ";
            string result = EncryptLine.Encrypt(test, 3);

            Assert.AreEqual("#", result);
        }