mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 09:45:04 +08:00
Add SimpleSubstitutionCipherTest (#3857)
This commit is contained in:
@ -80,16 +80,4 @@ public class SimpleSubstitutionCipher {
|
||||
|
||||
return decoded.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO remove main and make JUnit Testing
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
String a = encode(
|
||||
"defend the east wall of the castle",
|
||||
"phqgiumeaylnofdxjkrcvstzwb"
|
||||
);
|
||||
String b = decode(a, "phqgiumeaylnofdxjkrcvstzwb");
|
||||
System.out.println(b);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user