Skip to content

Commit 81c7ca2

Browse files
committed
Update test to use only resizeMulti
1 parent 2c0a8d2 commit 81c7ca2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/ImageTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ public function resizeMultiPerformance()
497497

498498
$beforeSingle = microtime(true);
499499
for ($i = 0; $i < $count; ++$i) {
500-
Image::resize($source, 1100, 400);
501-
Image::resize($source, 100, 400);
502-
Image::resize($source, 10, 40);
500+
Image::resizeMulti($source, [['width' => 1100, 'height' => 400]]);
501+
Image::resizeMulti($source, [['width' => 100, 'height' => 400]]);
502+
Image::resizeMulti($source, [['width' => 10, 'height' => 40]]);
503503
}
504504

505505
$singleTime = microtime(true) - $beforeSingle;

0 commit comments

Comments
 (0)