- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testNewDataInput_readFloat (0.47 seconds)
-
guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThat(in.readLine()).isEqualTo("This too"); assertThat(in.readLine()).isEqualTo("and this"); assertThat(in.readLine()).isEqualTo("and also this"); } public void testNewDataInput_readFloat() { byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10}; ByteArrayDataInput in = ByteStreams.newDataInput(data); assertThat(in.readFloat()).isEqualTo(Float.intBitsToFloat(0x12345678));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThat(in.readLine()).isEqualTo("This too"); assertThat(in.readLine()).isEqualTo("and this"); assertThat(in.readLine()).isEqualTo("and also this"); } public void testNewDataInput_readFloat() { byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10}; ByteArrayDataInput in = ByteStreams.newDataInput(data); assertThat(in.readFloat()).isEqualTo(Float.intBitsToFloat(0x12345678));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0)