Skip to content

Commit

Permalink
Fix some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
corywalker committed Nov 26, 2018
1 parent 68e5298 commit 2e6afc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions expreduce/resources.go
Git LFS file not shown
6 changes: 3 additions & 3 deletions expreduce/resources/arithmetic.m
Expand Up @@ -21,10 +21,10 @@
EStringTest["(1.*(a + b))", "(a + b)/1."],
EStringTest["(2*(a + b))", "2*(a + b)"],
EStringTest["(a*(b + c))", "a*(b + c)"],
EStringTest["(-a + -b)", "-1*(a + b)"],
EStringTest["(-a + -b)", "-(a + b)"],
EStringTest["(-a - b)", "-1*(a + b)"],
EStringTest["(-a - b)", "-(a + b)"],
EStringTest["((-1.)*(a + b))", "-1.*(a + b)"],
EStringTest["(-a + -b)", "(a + b)/-1"],
EStringTest["(-a - b)", "(a + b)/-1"],
EStringTest["((-1.)*(a + b))", "(a + b)/-1."],

(*Test that we do not delete all the addends*)
Expand Down

0 comments on commit 2e6afc5

Please sign in to comment.