HVFrancis / WritingImplements

A simple Java project to model things to write with.
0 stars 25 forks source link

Create a Unit Test for Highlighter.java #39

Open HVFrancis opened 2 years ago

HVFrancis commented 2 years ago

This whole project needs the addition of Unit Tests. These test classes should be placed in the same folder as the source code. (I know this is not SOP, but most of us probably use tools like BlueJ which puts things in the same folder.)

Create a JUnitTest class which tests the Highlighter.java class. It should test the constructors, and the mutators and accessors for bodySize and bodyColor -- each mut/acc pair can be tested in a single method. (The void methods do not need a test method.)