From c204b094918fc6abb95ebe18af7718102166a643 Mon Sep 17 00:00:00 2001 From: Eric Willigers Date: Wed, 16 Apr 2025 04:53:56 +1000 Subject: [PATCH 1/2] Crypto Square: fix test case description 54 character plaintext results in 8 chunks, not 7. --- exercises/crypto-square/canonical-data.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/crypto-square/canonical-data.json b/exercises/crypto-square/canonical-data.json index 3752747e10..8da7b16c7c 100644 --- a/exercises/crypto-square/canonical-data.json +++ b/exercises/crypto-square/canonical-data.json @@ -66,7 +66,7 @@ }, { "uuid": "fbcb0c6d-4c39-4a31-83f6-c473baa6af80", - "description": "54 character plaintext results in 7 chunks, the last two with trailing spaces", + "description": "54 character plaintext results in 8 chunks, the last two with trailing spaces", "property": "ciphertext", "input": { "plaintext": "If man was meant to stay on the ground, god would have given us roots." From aea163b64c41d6fb2f9479eebcbf3ae4d2cbaf8c Mon Sep 17 00:00:00 2001 From: Eric Willigers Date: Wed, 16 Apr 2025 16:19:42 +1000 Subject: [PATCH 2/2] new test reimplementing the old one --- exercises/crypto-square/canonical-data.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/exercises/crypto-square/canonical-data.json b/exercises/crypto-square/canonical-data.json index 8da7b16c7c..c91db6e25a 100644 --- a/exercises/crypto-square/canonical-data.json +++ b/exercises/crypto-square/canonical-data.json @@ -66,6 +66,16 @@ }, { "uuid": "fbcb0c6d-4c39-4a31-83f6-c473baa6af80", + "description": "54 character plaintext results in 7 chunks, the last two with trailing spaces", + "property": "ciphertext", + "input": { + "plaintext": "If man was meant to stay on the ground, god would have given us roots." + }, + "expected": "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau " + }, + { + "uuid": "33fd914e-fa44-445b-8f38-ff8fbc9fe6e6", + "reimplements": "fbcb0c6d-4c39-4a31-83f6-c473baa6af80", "description": "54 character plaintext results in 8 chunks, the last two with trailing spaces", "property": "ciphertext", "input": {