To run tests, run ruby app_test.rb
.
These tests cover the basic functionality of the Calculator
class, along with testing CLI I/O results of the CLI
class.
To run the interactive CLI, run ruby app.rb
. Enter exit
at any time to exit the program.
Valid operators: *
, /
, +
, and -
.