Updated tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
//CipherStreamJava/src/main/java/com/mattrixwv/CipherStreamJava/monoSubstitution/Atbash.java
|
//CipherStreamJava/src/main/java/com/mattrixwv/CipherStreamJava/monoSubstitution/Atbash.java
|
||||||
//Matthew Ellison
|
//Mattrixwv
|
||||||
// Created: 07-25-21
|
// Created: 07-25-21
|
||||||
//Modified: 02-17-22
|
//Modified: 02-22-22
|
||||||
package com.mattrixwv.CipherStreamJava.monoSubstitution;
|
package com.mattrixwv.CipherStreamJava.monoSubstitution;
|
||||||
|
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ public class Atbash{
|
|||||||
|
|
||||||
if(!preserveCapitals){
|
if(!preserveCapitals){
|
||||||
//Convert all letters to lowercase
|
//Convert all letters to lowercase
|
||||||
inputString = inputString.toLowerCase();
|
inputString = inputString.toUpperCase();
|
||||||
}
|
}
|
||||||
if(!preserveWhitespace){
|
if(!preserveWhitespace){
|
||||||
//Remove all characters except capital letters
|
//Remove all characters except capital letters
|
||||||
|
|||||||
Reference in New Issue
Block a user