MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / fixFloatingPointValueWasInt

Method fixFloatingPointValueWasInt

test/core/TestInternal.java:414–419  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

412 }
413
414 @Test
415 public void fixFloatingPointValueWasInt() {
416 assertArrayEquals(new byte[] { 0, 0, 0, 1 },
417 Internal.fixFloatingPointValue((byte) 0x03,
418 new byte[] { 0, 0, 0, 1 }));
419 }
420
421 @Test (expected = IllegalDataException.class)
422 public void fixFloatingPointValueCorrupt() {

Callers

nothing calls this directly

Calls 1

fixFloatingPointValueMethod · 0.95

Tested by

no test coverage detected