From c070d7d7af7a29840dd00a3170de50310afcf08a Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sun, 19 Dec 2021 17:23:02 +0100 Subject: [PATCH] Test --- tests/Drivers/Gd/Modifiers/ResizeModifierTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Drivers/Gd/Modifiers/ResizeModifierTest.php b/tests/Drivers/Gd/Modifiers/ResizeModifierTest.php index b1ebe570..7e7d297d 100644 --- a/tests/Drivers/Gd/Modifiers/ResizeModifierTest.php +++ b/tests/Drivers/Gd/Modifiers/ResizeModifierTest.php @@ -23,6 +23,8 @@ class ResizeModifierTest extends TestCase $this->assertColor(255, 0, 0, 1, $image->pickColor(150, 70)); $this->assertColor(0, 255, 0, 1, $image->pickColor(125, 70)); $this->assertColor(0, 0, 255, 1, $image->pickColor(130, 54)); - $this->assertTransparency($image->pickColor(150, 45)); + $transparent = $image->pickColor(150, 45); + $this->assertTransparency($transparent); + $this->assertEquals(2130706432, $transparent->toInt()); } }