public function testArea() { $radius = 90; $circle = new Shapes\Circle($radius); $this->assertEquals(pi() * pow($radius, 2), $circle->area()); }
public function testGetCircleArea() { $circle = new Shapes\Circle(90); $area = $circle->area($circle); $this->assertEquals(29.803764797388, $area); }
public function testArea() { $circle = new Shapes\Circle($this->radius); $area = pi() * pow($this->radius, 2); $this->assertEquals($circle->area(), $area); }
public function testCircleArea() { $circle = new Shapes\Circle(3); $this->assertEquals(28.274333882308, $circle->area()); }