public void testCompareToZeroNeg(){
  byte bBytes[]={12,56,100,-2,-76,89,45,91,3,-15,35,26,3,91};
  int bSign=-1;
  BigInteger aNumber=BigInteger.ZERO;
  BigInteger bNumber=new BigInteger(bSign,bBytes);
  assertEquals(1,aNumber.compareTo(bNumber));
}

public void testCompareToZeroNeg ( ) { byte bBytes [ ] = { 12 , 56 , 100 , - 2 , - 76 , 89 , 45 , 91 , 3 , - 15 , 35 , 26 , 3 , 91 } ; int bSign = - 1 ; BigInteger aNumber = BigInteger . ZERO ; BigInteger bNumber = new BigInteger ( bSign , bBytes ) ; assertEquals ( 1 , aNumber . compareTo ( bNumber ) ) ; }
compareto ( biginteger a ) . compare zero to a negative number .
