public function focalPointTest::parseFocalPointProvider in Focal Point 7
Parse Focal PointProvider.
File
- test/
FocalPointTest.php, line 30
Class
- focalPointTest
- Class for Focal Point Test.
Code
public function parseFocalPointProvider() {
return array(
array(
'23,56',
array(
'x-offset' => '23',
'y-offset' => '56',
),
),
array(
'56,23',
array(
'x-offset' => '56',
'y-offset' => '23',
),
),
array(
'0,0',
array(
'x-offset' => '0',
'y-offset' => '0',
),
),
array(
'100,100',
array(
'x-offset' => '100',
'y-offset' => '100',
),
),
array(
'',
array(
'x-offset' => '50',
'y-offset' => '50',
),
),
);
}