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

Method eqJoin

test/simpledb/JoinTest.java:107–113  ·  view source on GitHub ↗

Unit test for Join.getNext() using an = predicate

()

Source from the content-addressed store, hash-verified

105 * Unit test for Join.getNext() using an = predicate
106 */
107 @Test public void eqJoin() throws Exception {
108 JoinPredicate pred = new JoinPredicate(0, Predicate.Op.EQUALS, 0);
109 Join op = new Join(pred, scan1, scan2);
110 op.open();
111 eqJoin.open();
112 TestUtil.matchAllTuples(eqJoin, op);
113 }
114
115 /**
116 * JUnit suite target

Callers

nothing calls this directly

Calls 3

openMethod · 0.95
matchAllTuplesMethod · 0.95
openMethod · 0.65

Tested by

no test coverage detected