@Test
public void testReferenceHash() {

    ImageHashAlgorithm algorithm = new DCTImageHashAlgorithm();
    OpenBitSet actual = algorithm.getHash(Data.reference_imgdata);
    OpenBitSet exp = new OpenBitSet(new long[]{Data.reference_hash}, 1);
    System.out.println(Long.toBinaryString(Data.reference_hash));
    System.out.println(Long.toBinaryString(actual.getBits()[0]));
    assertEquals(exp, actual);
}