示例#1
0
        public void TestEncodeForN()
        {
            var verschlüsseler = new Rot13();

            Assert.Equal("n o p q r s t u v w x y z a b c d e f g h i j k l m", verschlüsseler.Encode("a b c d e f g h i j k l m n o p q r s t u v w x y z"));
        }
示例#2
0
        public void TestEncode()
        {
            var verschlüsseler = new Rot13();

            Assert.Equal("Qnf vfg Trurvz", verschlüsseler.Encode("Das ist Geheim"));
        }
示例#3
0
        public void TestEncodeSentence()
        {
            var verschlüsseler = new Rot13();

            Assert.Equal("N O P Q R S T U V W X Y Z A B C D E F G H I D K L M", verschlüsseler.Encode("A B C D E F G H I J K L M N O P Q R S T U V Q X Y Z"));
        }
示例#4
0
        public void TestEncodeUmlaute()
        {
            var verschlüsseler = new Rot13();

            Assert.Equal("äüöß", verschlüsseler.Encode("äüöß"));
        }