We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af89ffd commit 5e86307Copy full SHA for 5e86307
src/test/java/com/thealgorithms/ciphers/AutokeyTest.java
@@ -18,19 +18,19 @@ void autokeyEncryptTest() {
18
String cipherText = autokeyCipher.encrypt(plaintext, keyword);
19
20
// then
21
- assertEquals("QKUC YT DVZN", cipherText);
+ assertEquals("CYIXNFHEPN", cipherText);
22
}
23
24
@Test
25
void autokeyDecryptTest() {
26
// given
27
- String ciphertext = "QKUC YT DVZN";
+ String ciphertext = "CYIX NF HEPN";
28
String keyword = "QUEEN";
29
30
// when
31
String plainText = autokeyCipher.decrypt(ciphertext, keyword);
32
33
34
- assertEquals("MEET AT DAWN", plainText);
+ assertEquals("MEETATDAWN", plainText);
35
36
0 commit comments