Skip to content

Commit cdad7e7

Browse files
committedDec 31, 2018
Update atbash-cipher exericse to match latest test data. Refs exercism#488
1 parent 85edf4c commit cdad7e7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed
 

‎exercises/atbash-cipher/src/test/scala/AtbashCipherTest.scala

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import org.scalatest.{Matchers, FunSuite}
22

3-
/** @version 1.1.0 */
3+
/** @version 1.2.0 */
44
class AtbashCipherTest extends FunSuite with Matchers {
55

66
test("encode yes") {
@@ -65,4 +65,15 @@ class AtbashCipherTest extends FunSuite with Matchers {
6565
AtbashCipher.decode("gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt") should be(
6666
"thequickbrownfoxjumpsoverthelazydog")
6767
}
68+
69+
test("decode with too many spaces") {
70+
pending
71+
AtbashCipher.decode("vc vix r hn") should be("exercism")
72+
}
73+
74+
test("decode with no spaces") {
75+
pending
76+
AtbashCipher.decode("zmlyhgzxovrhlugvmzhgvkkrmthglmv") should be(
77+
"anobstacleisoftenasteppingstone")
78+
}
6879
}

0 commit comments

Comments
 (0)
Please sign in to comment.