Skip to content

Commit d4e7bb6

Browse files
authored
Update MonoAlphabeticTest.java
1 parent f5f2746 commit d4e7bb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ public class MonoAlphabeticTest {
1414
// Test for encryption
1515
@ParameterizedTest
1616
@MethodSource("provideEncryptionData")
17-
public void testEncrypt(String data, String KEY, String expected) {
18-
assertEquals(expected, MonoAlphabetic.encrypt(data, KEY));
17+
public void testEncrypt(String data, String key, String expected) {
18+
assertEquals(expected, MonoAlphabetic.encrypt(data, key));
1919
}
2020

2121
// Test for decryption
2222
@ParameterizedTest
2323
@MethodSource("provideDecryptionData")
24-
public void testDecrypt(String data, String KEY, String expected) {
25-
assertEquals(expected, MonoAlphabetic.decrypt(data, KEY));
24+
public void testDecrypt(String data, String key, String expected) {
25+
assertEquals(expected, MonoAlphabetic.decrypt(data, key));
2626
}
2727

2828
// Provide test data for encryption

0 commit comments

Comments
 (0)