question: public void testEqualsUnequal1 ( ) { String a = "92948782094488478231212478987482988429808779810457634781384756794987" ; int aScale = - 24 ; String b = "7472334223847623782375469293018787918347987234564568" ; int bScale = 13 ; BigDecimal aNumber = new BigDecimal ( new BigInteger ( a ) , aScale ) ; BigDecimal bNumber = new BigDecimal ( new BigInteger ( b ) , bScale ) ; assertFalse ( aNumber . equals ( bNumber ) ) ; }
target:  Equals() for unequal BigDecimals