-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/calculator - add calculator functionallity #118
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/puruvj/macos-web/2RZv46FsPXZtQNPRLRD4VDDJdWKw |
Looks great to me!! Will review tomorrow! |
Sorry for the delay. Merged it. Your officially a contributor on macOS web now. Thank you for all your help |
This PR adds functionality to the calculator as in PuruVJ/macos-web#83.
It also adds tests with jest to the project.
Notice
It is currently implemented more like a windows calculator (which has subtle differences from the macOS calculator).
These functionalities can be implemented in the future (we have tests for the current implementation) but I think it's good enough for now.
Click here to see the differences
1 + 2 * 3 = 7
in macOS but in windows1 + 2 * 3
is more like1 + 2 ( = 3 )
,3 * 3 = 9
+/-
operator instead of-
.Unimplemented small features that can be done separately (UI)