small fix, added tests, readme

This commit is contained in:
Mahdi Dibaiee
2015-04-20 14:25:41 +04:30
parent a8f47cd662
commit f903f35098
9 changed files with 51 additions and 14 deletions

4
dist/tests/solve.js vendored
View File

@ -60,6 +60,10 @@ describe('Functions', function () {
it('should work for without parantheses', function () {
_expect.expect(_M2['default'].solve('lg4 * 5')).to.equal(10);
});
it('should work for wrapped functions', function () {
_expect.expect(_M2['default'].solve('(lg4)*2')).to.equal(4);
});
});
describe('Constats', function () {