浏览代码

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

atbash-cipher: update tests to 1.0.0
FridaTveit 8 年前
父节点
当前提交
84e1927721
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 1
    0
      exercises/atbash-cipher/.meta/version
  2. 3
    2
      exercises/atbash-cipher/src/test/java/AtbashTest.java

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