Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_float64 (0.07 sec)

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

            double expected6 = 999.999;
            doc.put("key6", expected6);
            assertEquals(expected6, DocumentUtil.getValue(doc, "key6", Double.class));
        }
    
        public void test_float() {
            Map<String, Object> doc = new HashMap<>();
    
            float expected7 = 999.999f;
            doc.put("key7", expected7);
            assertEquals(expected7, DocumentUtil.getValue(doc, "key7", Float.class));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top