This repository is used for teaching purposes at the University of Mons. It contains Java code for computing arithmetic expressions. The code uses design patterns and is accompanied with JavaDoc, unit tests and BDD scenarios. We have also paid particular attention to code quality.
0
stars
0
forks
source link
[FEATURE] Calculator with memory functionality #10
Describe the new functionality you would like to see
[x] The calculator should allow the user to store in memory specific expressions that he would like to reuse later. The size of the memory to do so can be finite, but should be configurable by the user through some option in the application's interface.
[x] The calculator should also be able to log in the calculator's internal memory the history of all expressions that have been previously entered and evaluated. This log should be easily accessible, for example to select and reuse expressions or evaluated results that have been used somewhere in the past.
[x] Given the presence of such a history log, it should be possible to have multiple undo/redo functionality. (E.g. the user should be able to go back into the entire history stored in the calculator's memory.)
[x] It should be possible to save the history (of all expressions and their results) in a human-readable text file. It should also be possible, when closing the calculator application, to still have access to its recent history when opening the application again (e.g. by saving the history in a file before closing the application, and reading the file when opening the application).
[x] It should be possible to open any history file that was previously saved.
Describe the new functionality you would like to see