1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-20 12:41:23 +02:00

Change test values

This commit is contained in:
Oliver Vogel
2024-10-06 11:55:01 +02:00
parent 623476d8b0
commit eff5c7d81a

View File

@@ -18,12 +18,12 @@ final class FontProcessorTest extends BaseTestCase
$processor = new FontProcessor(); $processor = new FontProcessor();
$size = $processor->boxSize( $size = $processor->boxSize(
'ABC', 'ABC',
$this->testFont()->setSize(26), $this->testFont()->setSize(120),
); );
$this->assertInstanceOf(SizeInterface::class, $size); $this->assertInstanceOf(SizeInterface::class, $size);
$this->assertEquals(36, $size->width()); $this->assertEquals(163, $size->width());
$this->assertEquals(15, $size->height()); $this->assertEquals(72, $size->height());
} }
public function testNativeFontSize(): void public function testNativeFontSize(): void