diff options
author | iximeow <me@iximeow.net> | 2014-11-23 18:56:24 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2014-11-23 18:56:24 -0800 |
commit | d32466d20399489ae5cf254588c87e009a9c29f7 (patch) | |
tree | 71bbf790220fd3daf574d3867dfd8c816e839fd4 /test | |
parent | aa390776b26d794ab37aa13833fa7043aad16504 (diff) |
Add challenge 4
Diffstat (limited to 'test')
-rw-r--r-- | test/Set1Spec.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Set1Spec.scala b/test/Set1Spec.scala index a7a8ef6..628889c 100644 --- a/test/Set1Spec.scala +++ b/test/Set1Spec.scala @@ -39,6 +39,13 @@ class Set1Spec extends IxeeSpec { ) ) mustBe 88.toByte } + + "Challenge 4: detecting single-byte xor" - { + "Decrypts and reports the line of the single-byte xor" in { + Challenge4.run("./data/4.txt") mustBe + (("Now that the party is jumping\n", 170)) + } + } } } |