Exemplo n.º 1
0
        public void DecryptLetters2()
        {
            Decryption letters = new Decryption();

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

            Assert.AreEqual("AEIOU", answer);
        }
Exemplo n.º 2
0
        public void DecryptLetters3()
        {
            Decryption letters = new Decryption();

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

            Assert.AreEqual("ABCDEFGHIJKLMNOPQRSTUVWXYZ", answer);
        }
Exemplo n.º 3
0
        public void DecryptLetters()
        {
            Decryption letters = new Decryption();

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

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