@SuppressWarnings("static-method") @Test public void testInRange_Double() { final double lb = 0.0; final double ub = 100.0; for (double value = lb; value < ub; ++value) { Verify.inRange(value, lb, ub, PARM_value); } }
public static void inRange(final int value_, final int lb_, final int ub_, final String name_) { if (!(lb_ <= value_ && value_ < ub_)) { throw indexOutOfBoundsException(FAILURE_IN_RANGE, value_, lb_, ub_, name_); } }
Verify { public static void inRange(final int value_, final int lb_, final int ub_, final String name_) { if (!(lb_ <= value_ && value_ < ub_)) { throw indexOutOfBoundsException(FAILURE_IN_RANGE, value_, lb_, ub_, name_); } } }
Verify { public static void inRange(final int value_, final int lb_, final int ub_, final String name_) { if (!(lb_ <= value_ && value_ < ub_)) { throw indexOutOfBoundsException(FAILURE_IN_RANGE, value_, lb_, ub_, name_); } } private  Verify(); }
Verify { public static void inRange(final int value_, final int lb_, final int ub_, final String name_) { if (!(lb_ <= value_ && value_ < ub_)) { throw indexOutOfBoundsException(FAILURE_IN_RANGE, value_, lb_, ub_, name_); } } private  Verify(); static void condition(final boolean bCondition_, final String msg_); static void inClosedRange(final int value_, final int lb_, final int ub_, final String name_); static void inClosedRange(final long value_, final long lb_, final long ub_, final String name_); static void inClosedRange(final double value_, final double lb_, final double ub_, final String name_); static void inRange(final int value_, final int lb_, final int ub_, final String name_); static void inRange(final long value_, final long lb_, final long ub_, final String name_); static void inRange(final double value_, final double lb_, final double ub_, final String name_); static void isPositive(final int n_, final String name_); static void isPositive(final long n_, final String name_); static void notEmpty(final String s_, final String name_); static void notEmpty(final Object[] a_, final String name_); static void notNegative(final int n_, final String name_); static void notNegative(final long n_, final String name_); static void notNull(final Object object_, final String name_); }
Verify { public static void inRange(final int value_, final int lb_, final int ub_, final String name_) { if (!(lb_ <= value_ && value_ < ub_)) { throw indexOutOfBoundsException(FAILURE_IN_RANGE, value_, lb_, ub_, name_); } } private  Verify(); static void condition(final boolean bCondition_, final String msg_); static void inClosedRange(final int value_, final int lb_, final int ub_, final String name_); static void inClosedRange(final long value_, final long lb_, final long ub_, final String name_); static void inClosedRange(final double value_, final double lb_, final double ub_, final String name_); static void inRange(final int value_, final int lb_, final int ub_, final String name_); static void inRange(final long value_, final long lb_, final long ub_, final String name_); static void inRange(final double value_, final double lb_, final double ub_, final String name_); static void isPositive(final int n_, final String name_); static void isPositive(final long n_, final String name_); static void notEmpty(final String s_, final String name_); static void notEmpty(final Object[] a_, final String name_); static void notNegative(final int n_, final String name_); static void notNegative(final long n_, final String name_); static void notNull(final Object object_, final String name_);  }