MCPcopy Create free account
hub / github.com/apache/pig / testTupleSizeWithDoubles

Method testTupleSizeWithDoubles

test/org/apache/pig/test/TestTuple.java:111–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109 }
110
111 @Test
112 public void testTupleSizeWithDoubles() {
113 Tuple t = mTupleFactory.newTuple();
114 t.append(new Double(0.1));
115 t.append(new Double(2000.10001));
116 long size = t.getMemorySize();
117 assertEquals("tuple size", 120, size);
118 }
119
120 @Test
121 public void testTupleSizeWithFloats() {

Callers

nothing calls this directly

Calls 4

appendMethod · 0.95
getMemorySizeMethod · 0.95
newTupleMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected