- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testDouble (0.09 sec)
-
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
} } public void testFloat() { TestHasher hasher = new TestHasher(); hasher.putFloat(Float.intBitsToFloat(0x04030201)); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testDouble() { TestHasher hasher = new TestHasher(); hasher.putDouble(Double.longBitsToDouble(0x0807060504030201L)); hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); } public void testCorrectExceptions() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
} } public void testFloat() { TestHasher hasher = new TestHasher(); hasher.putFloat(Float.intBitsToFloat(0x04030201)); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testDouble() { TestHasher hasher = new TestHasher(); hasher.putDouble(Double.longBitsToDouble(0x0807060504030201L)); hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); } public void testCorrectExceptions() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
sink.putFloat(Float.intBitsToFloat(0x04030201)); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); } public void testDouble() { Sink sink = new Sink(8); sink.putDouble(Double.longBitsToDouble(0x0807060504030201L)); HashCode unused = sink.hash(); sink.assertInvariants(8);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
sink.putFloat(Float.intBitsToFloat(0x04030201)); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); } public void testDouble() { Sink sink = new Sink(8); sink.putDouble(Double.longBitsToDouble(0x0807060504030201L)); HashCode unused = sink.hash(); sink.assertInvariants(8);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
long expected5 = 999999999999999999L; doc.put("key5", expected5); assertEquals(expected5, DocumentUtil.getValue(doc, "key5", Long.class).longValue()); } public void test_double() { Map<String, Object> doc = new HashMap<>(); double expected6 = 999.999; doc.put("key6", expected6); assertEquals(expected6, DocumentUtil.getValue(doc, "key6", Double.class)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0)