Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAsFloat (0.1 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

        }
    
        @Test
        public void test_setAndGetAsFloat() {
            String key = "key";
            float value = 0.01F;
            settings.set(key, value);
            assertEquals(value, settings.getAsFloat(key, -1), 0);
        }
    
        @Test
        public void test_setAndGetAsBoolean() {
            String key = "key";
            settings.set(key, true);
            assertEquals(true, settings.getAsBoolean(key, false));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top