use cipher text from constant in test
This commit is contained in:
parent
e1c2d7df7d
commit
22fcf324e4
@ -12,9 +12,7 @@ class DecryptTest {
|
||||
void strToArray() {
|
||||
var decrypt = new Decrypt();
|
||||
|
||||
String input =
|
||||
"00000100110100100000101110111000000000101000111110001110011111110110000001010001010000111010000000010011011001110010101110110000";
|
||||
int[] data = decrypt.strToArray(input);
|
||||
int[] data = decrypt.strToArray(CIPHER);
|
||||
|
||||
assertEquals(8, data.length);
|
||||
assertEquals(0x04D2, data[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user