File tree 1 file changed +4
-4
lines changed
src/test/java/com/thealgorithms/ciphers
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ public class MonoAlphabeticTest {
14
14
// Test for encryption
15
15
@ ParameterizedTest
16
16
@ 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 ));
19
19
}
20
20
21
21
// Test for decryption
22
22
@ ParameterizedTest
23
23
@ 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 ));
26
26
}
27
27
28
28
// Provide test data for encryption
You can’t perform that action at this time.
0 commit comments