public void testFloatGt() throws Exception {
ConstantExpression lt = GenPhyOp.exprConst();
lt.setValue(new Float(1.0f));
ConstantExpression rt = GenPhyOp.exprConst();
rt.setValue(new Float(0.0f));
LTOrEqualToExpr g = GenPhyOp.compLTOrEqualToExpr();
g.setLhs(lt);
g.setRhs(rt);
g.setOperandType(DataType.FLOAT);
Result r = g.getNext(new Boolean(true));
assertEquals(POStatus.STATUS_OK, r.returnStatus);
assertFalse((Boolean)r.result);
}