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

Method testTupleSizeWithFloats

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

Source from the content-addressed store, hash-verified

118 }
119
120 @Test
121 public void testTupleSizeWithFloats() {
122 Tuple t = mTupleFactory.newTuple();
123 t.append(new Float(0.1F));
124 t.append(new Float(2000.10001F));
125 long size = t.getMemorySize();
126 assertEquals("tuple size", 120, size);
127 }
128
129 @Test
130 public void testTupleSizeWithLongs() {

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