summaryrefslogtreecommitdiff
path: root/test/Set1Spec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/Set1Spec.scala')
-rw-r--r--test/Set1Spec.scala7
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))
+ }
+ }
}
}