keys.convPolyBinaryToTrinaryHelper(out.length, 2, out, 6);
keys.convPolyBinaryToTrinaryHelper(out.length, 4, out, 5);
keys.convPolyBinaryToTrinaryHelper(out.length, 6, out, 4);
keys.convPolyBinaryToTrinaryHelper(out.length, 8, out, 3);
keys.convPolyBinaryToTrinaryHelper(out.length, 10, out, 2);
keys.convPolyBinaryToTrinaryHelper(out.length, 12, out, 1);
keys.convPolyBinaryToTrinaryHelper(out.length, 14, out, 0);
// Manually computed expected output
short expectedOut[] = {
-1, 1, -1, 0, 1, -1, 1, 1, 1, 0, 0, -1, 0, 1, 0, 0