This project was bootstrapped with Create React App.
This was created by Emmanuel Sibanda as part of the Vial coding challenge
This is a PEMDAS calculator built by Emmanuel Sibanda. To run this project, start off by cloning this repository.
- Once you have cloned the repo, open a terminal and navigate to the calculator folder
- Once in the folder run the command,
npm install
- Now run
npm start
- Run
npm test
to run the tests compiled
I wrote about 10 tests to assess whether the calculator correctly outputs calculations in the PEMDAS order and if the additional buttons I created work as intended. I hope these tests also help you better evaluate my calculator.
Running npm test
will run these tests
You will need to press the "=" sign before any computation is carried out, with the exception of exponentials and percentage.