function checkJoinPredicate_ExplicitReverse(predicates, expectedEvalTypes) {
  for (var i = 0; i < predicates.length; i++) {
    var reversePredicate = predicates[i].reverse();
    assertEquals(predicates[i].leftColumn, reversePredicate.rightColumn);
    assertEquals(predicates[i].rightColumn, reversePredicate.leftColumn);
    assertEquals(expectedEvalTypes[i], reversePredicate.evaluatorType);
  }
}
Tests that JoinPredicate.reverse() works correctly.
@param {!Array<!lf.pred.JoinPredicate>} predicates
@param {!Array<!lf.eval.Type>} expectedEvalTypes