- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for test_float (0.17 seconds)
-
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)); } @Test 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));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
assertEquals( new TestHasher().putUnencodedChars(s).hash(), new TestHasher().putString(s, UTF_16LE).hash()); } } public void testFloat() { TestHasher hasher = new TestHasher(); hasher.putFloat(Float.intBitsToFloat(0x04030201)); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testDouble() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
assertEquals( new TestHasher().putUnencodedChars(s).hash(), new TestHasher().putString(s, UTF_16LE).hash()); } } public void testFloat() { TestHasher hasher = new TestHasher(); hasher.putFloat(Float.intBitsToFloat(0x04030201)); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testDouble() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putString(s, UTF_16LE).hash()); } } public void testFloat() { Sink sink = new Sink(4); sink.putFloat(Float.intBitsToFloat(0x04030201)); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
try { labelTypeHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } @Test public void test_load() { int result = labelTypeHelper.load(); assertTrue(result >= 0); } @Test public void test_refresh() { List<LabelType> labelTypeList = createTestLabelTypeList();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
assertNull(testLdapManager.changePasswordUsername); assertNull(testLdapManager.changePasswordPassword); assertTrue(testLdapManager.changePasswordCalled); } @Test public void test_load() { // Test load method User user = createTestUser("testuser", "password123"); User result = ldapChain.load(user); assertSame(user, result);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.5K bytes - Click Count (0)