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

Method testTupleSizeWithLongs

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

Source from the content-addressed store, hash-verified

127 }
128
129 @Test
130 public void testTupleSizeWithLongs() {
131 Tuple t = mTupleFactory.newTuple();
132 t.append(new Long(100));
133 t.append(new Long(2000));
134 long size = t.getMemorySize();
135 assertEquals("tuple size", 120, size);
136 }
137
138 @Test
139 public void testTupleSizeWithBooleans() {

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