コード例 #1
0
ファイル: BoxTest.php プロジェクト: nicodmf/Imagine
 /**
  * @covers Imagine\Image\Box::contains
  *
  * @dataProvider getSizeBoxStartAndExpected
  *
  * @param BoxInterface       $size
  * @param BoxInterface       $box
  * @param PointInterface $start
  * @param Boolean             $expected
  */
 public function testShouldDetermineIfASizeContainsABoxAtAStartPosition(BoxInterface $size, BoxInterface $box, PointInterface $start, $expected)
 {
     $this->assertEquals($expected, $size->contains($box, $start));
 }