- small web app that uses the calculator
- text input where you can write the equation
- result updates as you type
- displays an error message if the calculator is given bad input
- 100% test code coverage with Jest
- fully typed with Typescript
- The input will be a postfix string (operators on the left of their operands)
- characters will be separated by a space
- the function returns a Number.
- Inputs must consider positive and negative numbers
- valid operators are ^ , * , / , + , -
- and basic trigonometric functions: cos, sin, tan
Requires node and npm.
- clone repository
- run
npm install
In the project directory, you can run:
Runs the app in the development mode.
Launches the test runner in the interactive watch mode.
Launches the test runner in the interactive watch mode and displays code coverage.
Builds the app for production to the build
folder.
This project was bootstrapped with Create React App.