MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / gtJoin

Method gtJoin

test/simpledb/JoinTest.java:96–102  ·  view source on GitHub ↗

Unit test for Join.getNext() using a > predicate

()

Source from the content-addressed store, hash-verified

94 * Unit test for Join.getNext() using a > predicate
95 */
96 @Test public void gtJoin() throws Exception {
97 JoinPredicate pred = new JoinPredicate(0, Predicate.Op.GREATER_THAN, 0);
98 Join op = new Join(pred, scan1, scan2);
99 op.open();
100 gtJoin.open();
101 TestUtil.matchAllTuples(gtJoin, op);
102 }
103
104 /**
105 * Unit test for Join.getNext() using an = predicate

Callers

nothing calls this directly

Calls 3

openMethod · 0.95
matchAllTuplesMethod · 0.95
openMethod · 0.65

Tested by

no test coverage detected