JImageTest::testSanitizeHeight
Tests the JImage::sanitizeHeight method.
Signature
public function testSanitizeHeight(mixed
$inputHeight,
mixed
$inputWidth,
integer
$imageHeight,
integer
$imageWidth,
integer
$expectedHeight,
integer
$expectedWidth )
Parameters
-
$inputHeight
- The height input.
-
$inputWidth
- The width input.
-
$imageHeight
- The original image height.
-
$imageWidth
- The original image width.
-
$expectedHeight
- The expected result image height.
-
$expectedWidth
- The expected result image width.
Returns
- void