Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_boolean (0.06 sec)

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

            float expected7 = 999.999f;
            doc.put("key7", expected7);
            assertEquals(expected7, DocumentUtil.getValue(doc, "key7", Float.class));
        }
    
        public void test_boolean() {
            Map<String, Object> doc = new HashMap<>();
    
            boolean expected8 = true;
            doc.put("key8", expected8);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BooleanConversionUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class BooleanConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToBoolean() throws Exception {
            assertEquals("1", Boolean.TRUE, BooleanConversionUtil.toBoolean(Integer.valueOf(1)));
            assertEquals("2", Boolean.FALSE, BooleanConversionUtil.toBoolean(Integer.valueOf(0)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top