From 294cc74c9f073f218d9505e808eaee3bef16b4dc Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Tue, 22 Feb 2022 18:43:45 +0000 Subject: [PATCH] Updated tests --- .../CipherStreamJava/monoSubstitution/TestAutokey.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/com/mattrixwv/CipherStreamJava/monoSubstitution/TestAutokey.java b/src/test/java/com/mattrixwv/CipherStreamJava/monoSubstitution/TestAutokey.java index faac0a1..c780fc3 100644 --- a/src/test/java/com/mattrixwv/CipherStreamJava/monoSubstitution/TestAutokey.java +++ b/src/test/java/com/mattrixwv/CipherStreamJava/monoSubstitution/TestAutokey.java @@ -415,7 +415,7 @@ public class TestAutokey{ String correctOutput = "XYZ"; cipher.setKeyword(keyword); String output = cipher.getKeyword(); - assertEquals("Vigenere failed keyword with whitespace.", correctOutput, output); + assertEquals("Autokey failed keyword with whitespace.", correctOutput, output); //Test keyword with symbol @@ -423,7 +423,7 @@ public class TestAutokey{ correctOutput = "XYZ"; cipher.setKeyword(keyword); output = cipher.getKeyword(); - assertEquals("Vigenere failed keyword with symbol.", correctOutput, output); + assertEquals("Autokey failed keyword with symbol.", correctOutput, output); //Test keyword with mixed case @@ -431,13 +431,13 @@ public class TestAutokey{ correctOutput = "XYZ"; cipher.setKeyword(keyword); output = cipher.getKeyword(); - assertEquals("Vigenere failed keyword with mixed case.", correctOutput, output); + assertEquals("Autokey failed keyword with mixed case.", correctOutput, output); //Test keyword with whitespace, symbol and keyword keyword = "x Y%z "; correctOutput = "XYZ"; cipher.setKeyword(keyword); output = cipher.getKeyword(); - assertEquals("Vigenere failed keyword with space, symbol, and mixed case.", correctOutput, output); + assertEquals("Autokey failed keyword with space, symbol, and mixed case.", correctOutput, output); } }