Parcourir la source

atbash-cipher: update test suite

Samuel Warner il y a 8 ans
Parent
révision
17b377249a

+ 1
- 0
exercises/atbash-cipher/.meta/version Voir le fichier

1
+1.0.0

+ 3
- 2
exercises/atbash-cipher/src/test/java/AtbashTest.java Voir le fichier

21
         @Parameters(name = "{index}: expected plaintext \"{0}\" to encode to ciphertext \"{1}\".")
21
         @Parameters(name = "{index}: expected plaintext \"{0}\" to encode to ciphertext \"{1}\".")
22
         public static Collection<Object[]> data() {
22
         public static Collection<Object[]> data() {
23
             return Arrays.asList(new Object[][]{
23
             return Arrays.asList(new Object[][]{
24
-                    {"no", "ml"},
25
                     {"yes", "bvh"},
24
                     {"yes", "bvh"},
25
+                    {"no", "ml"},
26
                     {"OMG", "lnt"},
26
                     {"OMG", "lnt"},
27
+                    {"O M G", "lnt"},
27
                     {"mindblowingly", "nrmwy oldrm tob"},
28
                     {"mindblowingly", "nrmwy oldrm tob"},
28
-                    {"Testing, 1 2 3, testing.", "gvhgr mt123 gvhgr mt"},
29
+                    {"Testing,1 2 3, testing.", "gvhgr mt123 gvhgr mt"},
29
                     {"Truth is fiction.", "gifgs rhurx grlm"},
30
                     {"Truth is fiction.", "gifgs rhurx grlm"},
30
                     {"The quick brown fox jumps over the lazy dog.", "gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt"}
31
                     {"The quick brown fox jumps over the lazy dog.", "gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt"}
31
             });
32
             });