1, -1, 0, 0, -1}; // missing last 11 trits,
byte expectedBits[] = {22, 22, 22, (byte)0xa3, (byte)0x00, (byte)0x00};
byte bits[] = new byte[6];
java.util.Arrays.fill(bits, (byte)22);
keys.convPolyTrinaryToBinaryBlockHelper(24, trits, 3, bits);
assertArrayEquals(bits, expectedBits);
}
// Test that the full conversion from trinary polynomial to binary