Skip to content

Commit

Permalink
Merge pull request #3 from mthwhite/master
Browse files Browse the repository at this point in the history
commit
  • Loading branch information
StevenGubkin committed Jul 29, 2015
2 parents 72ca6e5 + 238ada5 commit 8c40bb8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/math-expressions-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ describe("expression", function() {
'(1/8)*log(x)' : '0.125*log(x)',
'1' : '1',
'sqrt(10000 - x)' : 'sqrt(10000 - x)',
'x*log(y)' : 'log(y^x)',
'exp(x^y)' : 'exp(x^y)',
'(exp(x))^y' : 'exp(x*y)',
};

_.each( _.keys(equivalences), function(lhs) {
Expand Down Expand Up @@ -248,10 +251,6 @@ describe("expression", function() {
'sqrt(x^2)' : 'x',
'x' : 'sqrt(x^2)',
'abs(x)' : 'x',
'x*log(y)' : 'log(y^x)',
'exp(x^y)' : 'exp(x^y)',
'(exp(x))^y' : 'exp(x*y)',

};

_.each( _.keys(nonequivalences), function(lhs) {
Expand Down

0 comments on commit 8c40bb8

Please sign in to comment.