示例#1
0
 /**
  * @dataProvider areaData
  */
 public function test_area($a, $b, $expected)
 {
     $shape = new Shape($a, $b);
     $this->assertEquals($expected, $shape->area());
 }