예제 #1
0
        public void DecryptLetters2()
        {
            Decryption letters = new Decryption();

            char[] key    = "BFJPV".ToCharArray();
            string answer = letters.DecryptLetters(key);

            Assert.AreEqual("AEIOU", answer);
        }
예제 #2
0
        public void DecryptLetters3()
        {
            Decryption letters = new Decryption();

            char[] key    = "BCDEFGHIJKLMNOPQRSTUVWXYZA".ToCharArray();
            string answer = letters.DecryptLetters(key);

            Assert.AreEqual("ABCDEFGHIJKLMNOPQRSTUVWXYZ", answer);
        }
예제 #3
0
        public void DecryptLetters()
        {
            Decryption letters = new Decryption();

            char[] key    = "BCDFGH".ToCharArray();
            string answer = letters.DecryptLetters(key);

            Assert.AreEqual("ABCEFG", answer);
        }