public void testBitLengthPositive1(){
  byte aBytes[]={12,56,100,-2,-76,89,45,91,3,-15,35,26,3,91};
  int aSign=1;
  BigInteger aNumber=new BigInteger(aSign,aBytes);
  assertEquals(108,aNumber.bitLength());
}

public void testBitLengthPositive1 ( ) { byte aBytes [ ] = { 12 , 56 , 100 , - 2 , - 76 , 89 , 45 , 91 , 3 , - 15 , 35 , 26 , 3 , 91 } ; int aSign = 1 ; BigInteger aNumber = new BigInteger ( aSign , aBytes ) ; assertEquals ( 108 , aNumber . bitLength ( ) ) ; }
bitlength ( ) of a positive number .
