assertEquals(Result.FAIL, numberExpr.applyNumber(6));
}
@Test
public void applyNumberGreaterThan() throws IOException {
NumberExpression numberExpr = new NumberExpression(){};
addArgument(numberExpr, "+5");
numberExpr.initialise(new FindOptions());
assertEquals(Result.FAIL, numberExpr.applyNumber(5));
assertEquals(Result.FAIL, numberExpr.applyNumber(4));
assertEquals(Result.PASS, numberExpr.applyNumber(6));
}