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

Method testTupleSizeWithBooleans

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

Source from the content-addressed store, hash-verified

136 }
137
138 @Test
139 public void testTupleSizeWithBooleans() {
140 Tuple t = mTupleFactory.newTuple();
141 t.append(new Boolean(true));
142 t.append(new Boolean(false));
143 long size = t.getMemorySize();
144 assertEquals("tuple size", 120, size);
145 }
146
147 @Test
148 public void testTupleIterator() {

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