示例#1
0
 /**
  * @dataProvider getSizesAndSquares
  *
  * @param integer $width
  * @param integer $height
  * @param integer $square
  */
 public function testShouldCalculateSquare($width, $height, $square)
 {
     $box = new Box($width, $height);
     $this->assertEquals($square, $box->square());
 }