use cipher text from constant in test

This commit is contained in:
Sebastian Hugentobler 2022-03-22 21:10:14 +01:00
parent e1c2d7df7d
commit 22fcf324e4
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
1 changed files with 1 additions and 3 deletions

View File

@ -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]);