예제 #1
0
        public void VigenereTestDecode()
        {
            string  inputData    = "Rcmuc h ew rka cmuzgnb";
            string  keyWord      = "click";
            string  expectedData = "Press f to pay respect";
            ICipher userData     = new VigenereCipher();
            string  actualData   = userData.Decode(inputData, keyWord);

            Assert.AreEqual(expectedData, actualData);
        }