BetweenFunction implements DDMExpressionFunction.Function3
		<BigDecimal, BigDecimal, BigDecimal, Boolean> { @Override public Boolean apply( BigDecimal bigDecimal1, BigDecimal bigDecimal2, BigDecimal bigDecimal3) { if ((bigDecimal1.compareTo(bigDecimal2) >= 0) && (bigDecimal1.compareTo(bigDecimal3) <= 0)) { return true; } return false; }  @Override Boolean apply(
		BigDecimal bigDecimal1, BigDecimal bigDecimal2,
		BigDecimal bigDecimal3); @Override String getName(); static final String NAME; }
@Test public void testApplyFalse1() { BetweenFunction betweenFunction = new BetweenFunction(); boolean result = betweenFunction.apply( BigDecimal.TEN, BigDecimal.ZERO, BigDecimal.ONE); Assert.assertFalse(result); }
@Test public void testApplyFalse2() { BetweenFunction betweenFunction = new BetweenFunction(); boolean result = betweenFunction.apply( BigDecimal.ONE, new BigDecimal(2), BigDecimal.TEN); Assert.assertFalse(result); }
@Test public void testApplyTrue() { BetweenFunction betweenFunction = new BetweenFunction(); boolean result = betweenFunction.apply( BigDecimal.ONE, BigDecimal.ZERO, BigDecimal.TEN); Assert.assertTrue(result); }