### Question:
Check { public static void superiorOrEqual(int a, int b) { if (a < b) { throw new LionEngineException(ERROR_ARGUMENT + String.valueOf(a) + ERROR_SUPERIOR + String.valueOf(b)); } } private  Check(); static void superiorOrEqual(int a, int b); static void superiorOrEqual(double a, double b); static void superiorStrict(int a, int b); static void superiorStrict(double a, double b); static void inferiorOrEqual(int a, int b); static void inferiorOrEqual(double a, double b); static void inferiorStrict(int a, int b); static void inferiorStrict(double a, double b); static void different(int a, int b); static void different(double a, double b); static void equality(int a, int b); static void notNull(Object object);  }### Answer:
@Test void testSuperiorOrEqualDouble() { final double factor = Double.MIN_VALUE; for (int i = -Constant.HUNDRED; i < Constant.HUNDRED; i++) { final double value = i * factor; Check.superiorOrEqual(value, value); Check.superiorOrEqual(value + Double.MIN_VALUE, value); } Check.superiorOrEqual(Double.MIN_VALUE, Double.MIN_VALUE); Check.superiorOrEqual(Double.MAX_VALUE, Double.MIN_VALUE); Check.superiorOrEqual(Double.MAX_VALUE, Double.MAX_VALUE); }
@Test void testSuperiorOrEqualDoubleFail() { final double factor = Double.MIN_VALUE; for (int i = -Constant.HUNDRED; i < Constant.HUNDRED; i++) { final double a = i * factor; final double b = a + Double.MIN_VALUE; assertThrows(() -> Check.superiorOrEqual(a, b), Check.ERROR_ARGUMENT + a + Check.ERROR_SUPERIOR + b); } assertThrows(() -> Check.superiorOrEqual(Double.MIN_VALUE, Double.MAX_VALUE), Check.ERROR_ARGUMENT + Double.MIN_VALUE + Check.ERROR_SUPERIOR + Double.MAX_VALUE); }
@Test void testSuperiorOrEqual() { for (int i = -Constant.HUNDRED; i < Constant.HUNDRED; i++) { Check.superiorOrEqual(i, i); Check.superiorOrEqual(i + 1, i); } Check.superiorOrEqual(Integer.MIN_VALUE, Integer.MIN_VALUE); Check.superiorOrEqual(Integer.MAX_VALUE, Integer.MIN_VALUE); Check.superiorOrEqual(Integer.MAX_VALUE, Integer.MAX_VALUE); }
@Test void testSuperiorOrEqualFail() { for (int i = -Constant.HUNDRED; i < Constant.HUNDRED; i++) { final int a = i; final int b = i + 1; assertThrows(() -> Check.superiorOrEqual(a, b), Check.ERROR_ARGUMENT + a + Check.ERROR_SUPERIOR + b); } assertThrows(() -> Check.superiorOrEqual(Integer.MIN_VALUE, Integer.MAX_VALUE), Check.ERROR_ARGUMENT + Integer.MIN_VALUE + Check.ERROR_SUPERIOR + Integer.MAX_VALUE); }