Beispiel #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"));
        }
Beispiel #2
0
        public void TestEncode()
        {
            var verschlüsseler = new Rot13();

            Assert.Equal("Qnf vfg Trurvz", verschlüsseler.Encode("Das ist Geheim"));
        }
Beispiel #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"));
        }
Beispiel #4
0
        public void TestEncodeUmlaute()
        {
            var verschlüsseler = new Rot13();

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