- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_apply_integer (0.87 sec)
-
src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java
assertTrue(isNotEmpty.apply("test")); assertTrue(isNotEmpty.apply("a")); assertFalse(isNotEmpty.apply("")); assertFalse(isNotEmpty.apply(null)); } public void test_apply_integer() { BooleanFunction<Integer> isPositive = n -> n != null && n > 0; assertTrue(isPositive.apply(1)); assertTrue(isPositive.apply(100)); assertFalse(isPositive.apply(0));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 2.5K bytes - Viewed (0)