// CourseEnvironment ce = new CourseEnvironmentImpl(null);
ConditionInterpreter interpreter = null; //new ConditionInterpreter(new TestUserCourseEnvironmentImpl());// ce);
long start = System.currentTimeMillis();
try {
Expression exp = new Expression("(inGroup(\"blue\")|!inGroup(\"red\")) & now > date(\"09.03.2004 15:00\")", interpreter.env);
Expression exp2 = new Expression("(9.99999 < 10) & (1000/2 > 200)", interpreter.env);
for (int i = 0; i < 1000; i++) {
exp = new Expression("(inGroup(\"blue\")|!inGroup(\"red\")) & now > date(\"09.03.2004 15:00\")", interpreter.env);
interpreter.evaluateCondition(exp);
exp2 = new Expression("(9.99999 < 10) & (1000/2 > 200)", interpreter.env);
interpreter.evaluateCondition(exp2);
}
} catch (Exception e) {
// just a timing test