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