コード例 #1
0
ファイル: RenditionTest.php プロジェクト: nidzix/Newscoop
 public function testAspectRatio()
 {
     $rendition = new Rendition(400, 300, 'fit');
     $this->assertEquals((double) 400 / (double) 300, $rendition->getAspectRatio());
 }