/** * Verifies that the actual value is in ]start, end[ range (start excluded, end excluded). * * <p> * Example: * <pre><code class='java'> // assertion will pass * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("7.0"), new BigDecimal("9.0")); * * // assertions will fail * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("8.0"), new BigDecimal("9.0")); * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("7.0"), new BigDecimal("8.0"));</code></pre> * */ @Override public SELF isStrictlyBetween(BigDecimal start, BigDecimal end) { bigDecimals.assertIsStrictlyBetween(info, actual, start, end); return myself; }
/** * Verifies that the actual value is in ]start, end[ range (start excluded, end excluded). * * <p> * Example: * <pre><code class='java'> // assertion will pass * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("7.0"), new BigDecimal("9.0")); * * // assertions will fail * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("8.0"), new BigDecimal("9.0")); * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("7.0"), new BigDecimal("8.0"));</code></pre> * */ @Override public SELF isStrictlyBetween(BigDecimal start, BigDecimal end) { bigDecimals.assertIsStrictlyBetween(info, actual, start, end); return myself; }
/** * Verifies that the actual value is in ]start, end[ range (start excluded, end excluded). * * <p> * Example: * * <pre><code class='java'> * // assertion will pass * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("7.0"), new BigDecimal("9.0")); * * // assertions will fail * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("8.0"), new BigDecimal("9.0")); * assertThat(new BigDecimal("8.0")).isStrictlyBetween(new BigDecimal("7.0"), new BigDecimal("8.0")); * </code></pre> * * </p> */ @Override public S isStrictlyBetween(BigDecimal start, BigDecimal end) { bigDecimals.assertIsStrictlyBetween(info, actual, start, end); return myself; }