this.D = origD;
}
@Test
public void testCompare() {
Bits b1 = new Bits("01111111111111111111111111111110");
Signature s1 = new NBitSignature(b1);
Bits b2 = new Bits("10000000000000000000000000000001");
Signature s2 = new NBitSignature(b2);
assertTrue(s1.compareTo(s2) + "", s1.compareTo(s2) < 0);
assertTrue(s2.compareTo(s1) + "", s2.compareTo(s1) > 0);
assertTrue(s1.compareTo(s1) + "", s1.compareTo(s1) == 0);