Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single constant propagation only #64

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
removed try catch
Francois Viljoen committed Jul 24, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 1ce878b9b845f7646d86ee0c76e4484846702c6e
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ private void finalCheck(String observed, String[] expected) {
}

private void check(Expression expression, String full, String... expected) {
try {

Instance i = new Instance(solver, null, null, expression);
Expression e = i.getExpression();
assertTrue(e.equals(expression));
@@ -55,9 +55,7 @@ private void check(Expression expression, String full, String... expected) {
assertEquals(Instance.class, result.getClass());
Instance j = (Instance) result;
finalCheck(j.getExpression().toString(), expected);
} catch(ComparisonFailure err){
System.out.println(err.getMessage);
}

}

private void check(Expression expression, Expression parentExpression, String full, String... expected) {