Пример #1
0
        public void TestFalseDecrypt()
        {
            CaesarModel caesarModel = new CaesarModel();
            string      actual      = caesarModel.Decrypt("рсйгёу", 1);
            string      expected    = "рсйгёу";

            Assert.AreNotEqual(expected, actual);
        }
Пример #2
0
        public void TestDecryptAnotherIndex()
        {
            CaesarModel caesarModel = new CaesarModel();
            string      actual      = caesarModel.Decrypt("фхнжйч пеп ийре", 5);
            string      expected    = "привет как дела";

            Assert.AreEqual(expected, actual);
        }