public void testClearBitNegativeInside5(){
  String as="-18446744073709551615";
  String res="-18446744073709551616";
  int number=0;
  BigInteger aNumber=new BigInteger(as);
  BigInteger result=aNumber.clearBit(number);
  assertEquals(res,result.toString());
}

public void testClearBitNegativeInside5 ( ) { String as = "-18446744073709551615" ; String res = "-18446744073709551616" ; int number = 0 ; BigInteger aNumber = new BigInteger ( as ) ; BigInteger result = aNumber . clearBit ( number ) ; assertEquals ( res , result . toString ( ) ) ; }
clearbit ( 0 ) in the negative number of length 2 with all ones in bit representation . the resulting number ' s length is 3 .
