question: public void testNegateNegative ( ) { String a = "-92948782094488478231212478987482988429808779810457634781384756794987" ; int aScale = 41 ; String c = "92948782094488478231212478987482988429808779810457634781384756794987" ; int cScale = 41 ; BigDecimal aNumber = new BigDecimal ( new BigInteger ( a ) , aScale ) ; BigDecimal cNumber = new BigDecimal ( new BigInteger ( c ) , cScale ) ; assertEquals ( "incorrect value" , cNumber , aNumber . negate ( ) ) ; }
target:  negate() for a negative BigDecimal