"sonarcloud" suggestion.
@@ -177,7 +177,7 @@ public class BigRealTest {
Assert.assertTrue(one.equals(BigReal.ONE));
BigReal oneWithScaleOne = new BigReal(new BigDecimal("1.0"));
BigReal oneWithScaleTwo = new BigReal(new BigDecimal("1.00"));
- Assert.assertTrue(oneWithScaleOne.equals(oneWithScaleTwo));
+ Assert.assertEquals(oneWithScaleOne, oneWithScaleTwo);
}
@Test
