public function testRatio() { $image = new Adweb\AdImage('tests/images/img1.jpg'); $this->assertEquals(1.3333333333333, $image->getRatio()); }