Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_setAndGetAsFloat (0.12 sec)

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

            String key = "key";
            long value = Long.MAX_VALUE;
            settings.set(key, value);
            assertEquals(value, settings.getAsLong(key, -1));
        }
    
        @Test
        public void test_setAndGetAsFloat() {
            String key = "key";
            float value = 0.01F;
            settings.set(key, value);
            assertEquals(value, settings.getAsFloat(key, -1), 0);
        }
    
        @Test
    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