You are here

function image_test_crop in SimpleTest 7

Image tookit's crop operation.

File

tests/image_test.module, line 110
Helper module for the image tests.

Code

function image_test_crop(stdClass $image, $x, $y, $width, $height) {
  _image_test_log_call('crop', array(
    $image,
    $x,
    $y,
    $width,
    $height,
  ));
  return TRUE;
}