4748495051525354
} } public void mustBeLessThanOrEqual(int arg, int upperLimit) { if (arg > upperLimit) { throw new JUnitHelperCoreException(name + " must not be less than or equal " + upperLimit + "."); } }
5354555657585960
} } public void mustBeGreaterThan(long arg, long lowerLimit) { if (arg <= lowerLimit) { throw new JUnitHelperCoreException(name + " must not be greater than " + lowerLimit + "."); } }
5960616263646566
} } public void mustBeGreaterThanOrEqual(long arg, long lowerLimit) { if (arg < lowerLimit) { throw new JUnitHelperCoreException(name + " must not be greater than or equal " + lowerLimit + "."); } }
6566676869707172
} } public void mustBeLessThan(long arg, long upperLimit) { if (arg >= upperLimit) { throw new JUnitHelperCoreException(name + " must not be less than " + upperLimit + "."); } }
7172737475767778
} } public void mustBeLessThanOrEqual(long arg, long upperLimit) { if (arg > upperLimit) { throw new JUnitHelperCoreException(name + " must not be less than or equal " + upperLimit + "."); } }
7778798081828384
} } public void mustBeGreaterThan(double arg, double lowerLimit) { if (arg <= lowerLimit) { throw new JUnitHelperCoreException(name + " must not be greater than " + lowerLimit + "."); } }
8384858687888990
} } public void mustBeGreaterThanOrEqual(double arg, double lowerLimit) { if (arg < lowerLimit) { throw new JUnitHelperCoreException(name + " must not be greater than or equal " + lowerLimit + "."); } }
8990919293949596
} } public void mustBeLessThan(double arg, double upperLimit) { if (arg >= upperLimit) { throw new JUnitHelperCoreException(name + " must not be less than " + upperLimit + "."); } }
9596979899100101102
} } public void mustBeLessThanOrEqual(double arg, double upperLimit) { if (arg > upperLimit) { throw new JUnitHelperCoreException(name + " must not be less than or equal " + upperLimit + "."); } }
67891011121314
private String name; private Assertion(String name) { if (name == null || name.length() == 0) { throw new JUnitHelperCoreException("assertion target name must not be empty."); } this.name = name; }