From d32466d20399489ae5cf254588c87e009a9c29f7 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Nov 2014 18:56:24 -0800 Subject: Add challenge 4 --- test/Set1Spec.scala | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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)) + } + } } } -- cgit v1.1