public void testSetBitNegativeInside4(){
  String as="-4294967295";
  int number=0;
  BigInteger aNumber=new BigInteger(as);
  BigInteger result=aNumber.setBit(number);
  assertEquals(as,result.toString());
}

public void testSetBitNegativeInside4 ( ) { String as = "-4294967295" ; int number = 0 ; BigInteger aNumber = new BigInteger ( as ) ; BigInteger result = aNumber . setBit ( number ) ; assertEquals ( as , result . toString ( ) ) ; }
setbit ( 0 ) in the negative number of length 1 with all ones in bit representation . the resulting number ' s length is 2 .
