JUnit Assignment
Description: You work for a large flooring company that sells hard wood and carpeted floors.
Salesmen go out to people’s home to sell them flooring. You created a program that allows the
salesmen to compute the area of a room. Salesmen typically carry laptops on each sales call.
The program is designed with two files: FloorMeasuringTool.java and ShapeAreas.java.
FloorMeasuringTool.java is the user interface. ShapeAreas.java contains code for all of the
different types of area calculations.
Your Assignment: Your assignment is to take your test suite from the previous assignment and
automate it in JUnit. Before submitting the assignment read the feedback from the previous
assignment and make any changes as needed.
Rubric: The assignment will be graded using the following rubric.
Criteria/Points
Tests are
organized logically
Very
organized
(10 points)
Somewhat
organized
(8 points)
Not
organized
well at all
(7 points)
Feedback from
previous
assignment correct
No feedback
or 100%
corrected
(45 points)
Most
corrected
(35 points)
Some
corrected
(25 points)
Little
corrected
(15 points)
None
corrected
(5 points)
Tests are
automated
correctly
100%
correct
(45 points)
Mostly
correct
(35 points)
Some
correct
(25 points)
Little correct
(15 points)
None correct
(5 points)