Skip to content

Commit 7ff9267

Browse files
authored
[no important files changed] sync and replace unit tests for crypto square (#3056)
[no important files changed]
1 parent bc1fa5c commit 7ff9267

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

exercises/practice/crypto-square/.meta/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"sshine",
2222
"stkent",
2323
"vdemeester",
24+
"Xinri",
2425
"Zaldrick"
2526
],
2627
"files": {

exercises/practice/crypto-square/.meta/tests.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ description = "8 character plaintext results in 3 chunks, the last one with a tr
3232

3333
[fbcb0c6d-4c39-4a31-83f6-c473baa6af80]
3434
description = "54 character plaintext results in 7 chunks, the last two with trailing spaces"
35+
include = false
36+
37+
[33fd914e-fa44-445b-8f38-ff8fbc9fe6e6]
38+
description = "54 character plaintext results in 8 chunks, the last two with trailing spaces"
39+
reimplements = "fbcb0c6d-4c39-4a31-83f6-c473baa6af80"

exercises/practice/crypto-square/src/test/java/CryptoSquareTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ public void eightCharacterPlaintextResultsInThreeChunksWithATrailingSpace() {
7777

7878
@Disabled("Remove to run test")
7979
@Test
80-
@DisplayName("54 character plaintext results in 7 chunks, the last two with trailing spaces")
81-
public void fiftyFourCharacterPlaintextResultsInSevenChunksWithTrailingSpaces() {
80+
@DisplayName("54 character plaintext results in 8 chunks, the last two with trailing spaces")
81+
public void fiftyFourCharacterPlaintextResultsInEightChunksWithTrailingSpaces() {
8282
CryptoSquare cryptoSquare = new CryptoSquare("If man was meant to stay on the ground, god would have " +
8383
"given us roots.");
8484
String expectedOutput = "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau ";

0 commit comments

Comments
 (0)