Input format: operators and operands are separated by a space.
Example:
const a = new Calculator();
a.calculate('1 + 3 - 3 * 5');
Run in console:
npm i
-
Tests without coverage
npm test
-
Tests with coverage
npm run test-with-coverage
Coverage info:
/coverage/lcov-report/index.html