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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user