35 $this->fixture = new \TYPO3\CMS\Core\Imaging\GraphicalFunctions();
45 'Get image scale for a width of 150px' => array(
62 'Get image scale with a maximum width of 100px' => array(
81 'Get image scale with a minimum width of 200px' => array(
108 $result = $this->fixture->getImageScale($info, $width, $height, $options);
109 $this->assertEquals(
$result, $expected);
getScaleForImageDataProvider()
getScaleForImage($info, $width, $height, $options, $expected)
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.