Revert "simplify init"

This reverts commit 743220aa1d.
This commit is contained in:
Mahdi Dibaiee
2015-04-21 16:58:38 +04:30
parent 743220aa1d
commit 433c2fb339
7 changed files with 80 additions and 130 deletions

View File

@ -1,28 +0,0 @@
import {expect} from 'chai';
import M from '../index.js';
describe('Simplify simple math expressions', () => {
it('should work for add +', () => {
expect(M.simplify('2+2-1')).to.equal('3');
});
//
// it('should work for minus -', () => {
// expect(M.solve('15-3')).to.equal(12);
// });
//
// it('should work for divison /', () => {
// expect(M.solve('20/2')).to.equal(10);
// });
//
// it('should work for multiplication *', () => {
// expect(M.solve('6*3')).to.equal(18);
// });
//
// it('should work for power ^', () => {
// expect(M.solve('5^2')).to.equal(25);
// });
//
// it('should work for multi-digit numbers', () => {
// expect(M.solve('12+15')).to.equal(27);
// });
});