Passed
Push — master ( dd7741...68adbd )
by Seth
04:41
created

example.shapes.RoundRectangleTest.setup()   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 4
rs 10
1
package example.shapes;
2
3
import org.gannacademy.cdf.graphics.geom.RoundRectangle;
4
5
public class RoundRectangleTest extends ShapeTest {
6
7
    @Override
8
    protected void setup() {
9
        super.setup();
10
        shape = new RoundRectangle(width, height, width, height, width / 3.0, height / 3.0, getDrawingPanel());
11
    }
12
13
    public static void main(String[] args) {
14
        new RoundRectangleTest();
15
    }
16
}
17