Skip to content

Commit 06ec601

Browse files
committed
Fix
1 parent 70f40ce commit 06ec601

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/java/com/thealgorithms/ciphers/ColumnarTranspositionCipherTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public void testEncryption() {
2929

3030
@Test
3131
public void testDecryption() {
32-
String encryptedText = ColumnarTranspositionCipher.encrpyter(plaintext, keyword);
3332
String decryptedText = ColumnarTranspositionCipher.decrypter();
3433

3534
assertEquals(plaintext.replaceAll(" ", ""), decryptedText.replaceAll(" ", ""), "The decrypted text should match the original plaintext, ignoring spaces.");
@@ -38,7 +37,6 @@ public void testDecryption() {
3837
@Test
3938
public void testLongPlainText() {
4039
String longText = "This is a significantly longer piece of text to test the encryption and decryption capabilities of the Columnar Transposition Cipher. It should handle long strings gracefully.";
41-
String encryptedText = ColumnarTranspositionCipher.encrpyter(longText, keyword);
4240
String decryptedText = ColumnarTranspositionCipher.decrypter();
4341

4442
assertEquals(longText.replaceAll(" ", ""), decryptedText.replaceAll(" ", ""), "The decrypted text should match the original long plaintext, ignoring spaces.");

0 commit comments

Comments
 (0)