public void TestCompareCropped()
{
int hash1 = SimHash.Compute(data);
int hash2 = SimHash.Compute(data, 10, 948 - 10);
int hash3 = SimHash.Compute(data, 10, 948 - 100);
Assert.IsTrue(0 <= TestsHelper.HammingDistance((uint)hash1, (uint)hash2));
Assert.IsTrue(1 <= TestsHelper.HammingDistance((uint)hash1, (uint)hash3));
}