Unit testing is an important part of programming, and has inspired
something called
test driven development.
This activity continues arith.rkt from the first half of the lab.
Under
Language -> Choose Language -> Show Details -> Dynamic Properties
enable
⊙ Syntactic test suite coverage
comment out the given test
run your code in DrRacket again
most likely you will have some code highlighted with orange text and
black foreground. This means that code is not covered by your test
suite. Uncomment the given test, and if needed add tests to cover
each piece of uncovered code.
When you have complete test coverage, commit your code.
In this course, for all racket assignments you will lose marks if
you don't have complete test coverage.
Push your repo to coursegit.
If you have extra time, run the tests on the command line with raco
test arith.rkt