public void testTestBitPositive1(){
  byte aBytes[]={-1,-128,56,100,-2,-76,89,45,91,3,-15,35,26};
  int aSign=1;
  int number=7;
  BigInteger aNumber=new BigInteger(aSign,aBytes);
  assertTrue(!aNumber.testBit(number));
}

public void testTestBitPositive1 ( ) { byte aBytes [ ] = { - 1 , - 128 , 56 , 100 , - 2 , - 76 , 89 , 45 , 91 , 3 , - 15 , 35 , 26 } ; int aSign = 1 ; int number = 7 ; BigInteger aNumber = new BigInteger ( aSign , aBytes ) ; assertTrue ( ! aNumber . testBit ( number ) ) ; }
testbit ( int n ) of a positive number
