Преглед изворни кода

atbash-cipher: update test suite

Samuel Warner пре 8 година
родитељ
комит
17b377249a

+ 1
- 0
exercises/atbash-cipher/.meta/version Прегледај датотеку

@@ -0,0 +1 @@
1
+1.0.0

+ 3
- 2
exercises/atbash-cipher/src/test/java/AtbashTest.java Прегледај датотеку

@@ -21,11 +21,12 @@ public class AtbashTest {
21 21
         @Parameters(name = "{index}: expected plaintext \"{0}\" to encode to ciphertext \"{1}\".")
22 22
         public static Collection<Object[]> data() {
23 23
             return Arrays.asList(new Object[][]{
24
-                    {"no", "ml"},
25 24
                     {"yes", "bvh"},
25
+                    {"no", "ml"},
26 26
                     {"OMG", "lnt"},
27
+                    {"O M G", "lnt"},
27 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 30
                     {"Truth is fiction.", "gifgs rhurx grlm"},
30 31
                     {"The quick brown fox jumps over the lazy dog.", "gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt"}
31 32
             });