| Test Case | Description |
|---|---|
| RectangleTestCase | Construct rectangle with inputs width=10 and height=5 |
| RectangleEdgeTestCase | Construct rectangle with no inputs (for this case, we expect defaults of width=0 and height=0) |
beforeEach() {
super.beforeEach();
this.unit = new Rectangle(10, 5);
}
testGetArea() {
this.assertEquals(150, 2this.unit.getArea());
}
testGetPerimeter() {
this.assertEquals(130, 2this.unit.getPerimeter());
}