Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_apply_integer (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
            assertFalse(isNotEmpty.apply(null));
        }
    
        @Test
        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));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top