Code example for BigDecimal

0
    bigDecimals.assertIsNotNegative(someInfo(), new BigDecimal(-6)); 
  } 
 
  @Test 
  public void should_succeed_since_actual_is_not_negative_according_to_custom_comparison_strategy() { 
    bigDecimalsWithAbsValueComparisonStrategy.assertIsNotNegative(someInfo(), new BigDecimal(-1)); 
  } 
 
  @Test 
  public void should_succeed_since_actual_positive_is_not_negative_according_to_custom_comparison_strategy() { 
    bigDecimalsWithAbsValueComparisonStrategy.assertIsNotNegative(someInfo(), BigDecimal.ONE); 
  } 
 
}