/** * Verifies that the actual value is greater than or equal to the given one. * <p> * Example: * <pre><code class='java'> // assertion will pass * assertThat((byte) 2).isGreaterThanOrEqualTo((byte) 1); * assertThat((byte) 2).isGreaterThanOrEqualTo((byte) 2); * * // assertion will fail * assertThat((byte) 2).isGreaterThanOrEqualTo((byte) 3);</code></pre> * * @param other the given value to compare the actual value to. * @return {@code this} assertion object. * @throws AssertionError if the actual value is {@code null}. * @throws AssertionError if the actual value is less than the given one. */ public SELF isGreaterThanOrEqualTo(byte other) { bytes.assertGreaterThanOrEqualTo(info, actual, other); return myself; }
/** * Verifies that the actual value is greater than or equal to the given one. * <p> * Example: * <pre><code class='java'> // assertion will pass * assertThat((byte) 2).isGreaterThanOrEqualTo((byte) 1); * assertThat((byte) 2).isGreaterThanOrEqualTo((byte) 2); * * // assertion will fail * assertThat((byte) 2).isGreaterThanOrEqualTo((byte) 3);</code></pre> * * @param other the given value to compare the actual value to. * @return {@code this} assertion object. * @throws AssertionError if the actual value is {@code null}. * @throws AssertionError if the actual value is less than the given one. */ public SELF isGreaterThanOrEqualTo(byte other) { bytes.assertGreaterThanOrEqualTo(info, actual, other); return myself; }
/** * Verifies that the actual value is greater than or equal to the given one. * <p> * Example: * * <pre><code class='java'> * // assertion will pass * assertThat((byte) 2).isGreaterThanOrEqualTo(1); * assertThat((byte) 2).isGreaterThanOrEqualTo(2); * * // assertion will fail * assertThat((byte) 2).isGreaterThanOrEqualTo(3); * </code></pre> * * </p> * * @param other the given value to compare the actual value to. * @return {@code this} assertion object. * @throws AssertionError if the actual value is {@code null}. * @throws AssertionError if the actual value is less than the given one. */ public S isGreaterThanOrEqualTo(byte other) { bytes.assertGreaterThanOrEqualTo(info, actual, other); return myself; }