Quellcode durchsuchen

Merge pull request #1180 from sjwarner-bp/atbash-update

atbash-cipher: update tests to 1.0.0
FridaTveit vor 8 Jahren
Ursprung
Commit
84e1927721
Es ist kein Account mit dieser Commiter-Email verbunden

+ 1
- 0
exercises/atbash-cipher/.meta/version Datei anzeigen

1
+1.0.0

+ 3
- 2
exercises/atbash-cipher/src/test/java/AtbashTest.java Datei anzeigen

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
             });