question: public void testConstructorStringRadix10Negative ( ) { String value = "-234871376037" ; int radix = 36 ; byte rBytes [ ] = { - 4 , 48 , 71 , 62 , - 76 , 93 , - 105 , 13 } ; BigInteger aNumber = new BigInteger ( value , radix ) ; byte resBytes [ ] = new byte [ rBytes . length ] ; resBytes = aNumber . toByteArray ( ) ; for ( int i = 0 ; i < resBytes . length ; i ++ ) { assertTrue ( resBytes [ i ] == rBytes [ i ] ) ; } assertEquals ( "incorrect sign" , - 1 , aNumber . signum ( ) ) ; }
target:  Create a negative number from a string value and radix 10.