diff --git a/README.md b/README.md index 34cfaffe3..010987102 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This repository contains the source for the exercises of the Java track on Exerc Next to the exercises, the Java track also consists of the following tooling: - [exercism/java-test-runner] - The Exercism [test runner][docs-test-runners] for the Java track that automatically verifies if a submitted solution passes all of the exercise's tests. -- [exercism/java-representer] - The Exercism [representer][docs-representers] for the Java track that creates normalized representations of submitted solutions. +- [exercism/java-representer]a - The Exercism [representer][docs-representers] for the Java track that creates normalized representations of submitted solutions. - [exercism/java-analyzer] - The Exercism [analyzer][docs-analyzers] for the Java track that automatically provides comments on submitted solutions. ## Contributing Guide diff --git a/exercises/practice/crypto-square/src/test/java/CryptoSquareTest.java b/exercises/practice/crypto-square/src/test/java/CryptoSquareTest.java index 59eb4fc70..9fec26c5a 100644 --- a/exercises/practice/crypto-square/src/test/java/CryptoSquareTest.java +++ b/exercises/practice/crypto-square/src/test/java/CryptoSquareTest.java @@ -66,8 +66,10 @@ public void eightCharacterPlaintextResultsInThreeChunksWithATrailingSpace() { assertThat(cryptoSquare.getCiphertext()).isEqualTo(expectedOutput); } + // Legacy test from older canonical-data.json – consider removing if outdated - @Disabled("Remove to run test") + + /*@Disabled("Remove to run test") @Test public void fiftyFourCharacterPlaintextResultsInSevenChunksWithTrailingSpaces() { CryptoSquare cryptoSquare = new CryptoSquare("If man was meant to stay on the ground, god would have " + @@ -75,5 +77,15 @@ public void fiftyFourCharacterPlaintextResultsInSevenChunksWithTrailingSpaces() String expectedOutput = "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau "; assertThat(cryptoSquare.getCiphertext()).isEqualTo(expectedOutput); - } + }*/ + @Disabled("Remove to run test") +@Test +public void fiftyFourCharacterPlaintextResultsInEightChunksWithTrailingSpaces() { + CryptoSquare cryptoSquare = new CryptoSquare("If man was meant to stay on the ground, god would have " + + "given us roots."); + String expectedOutput = "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau "; + + assertThat(cryptoSquare.getCiphertext()).isEqualTo(expectedOutput); +} + }