for( PhysicalOperator p : inputPln.getRoots() ) {
assertEquals( POProject.class, p.getClass() );
}
assertEquals( 1, inputPln.getLeaves().size() );
assertEquals( POBinCond.class, inputPln.getLeaves().get(0).getClass() );
POBinCond binCond = (POBinCond) inputPln.getLeaves().get(0);
assertEquals( POProject.class, binCond.getLhs().getClass() );
POProject prj_1 = (POProject)binCond.getLhs();
assertEquals( 1, prj_1.getColumn() );
assertEquals( POProject.class, binCond.getRhs().getClass() );
POProject prj_2 = (POProject) binCond.getRhs();
assertEquals( 0, prj_2.getColumn() );
assertEquals( LessThanExpr.class, binCond.getCond().getClass() );
LessThanExpr lessThan_p = (LessThanExpr) binCond.getCond();
assertEquals( POProject.class, lessThan_p.getLhs().getClass() );
POProject prj_3 = (POProject) lessThan_p.getLhs();
assertEquals( 0, prj_3.getColumn() );
assertEquals( POProject.class, lessThan_p.getRhs().getClass() );