mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
41 lines
698 B
PHP
41 lines
698 B
PHP
<?php
|
|
/**
|
|
* Karaka
|
|
*
|
|
* PHP Version 8.0
|
|
*
|
|
* @package tests
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://karaka.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace phpOMS\tests\Image;
|
|
|
|
require_once __DIR__ . '/../Autoloader.php';
|
|
|
|
use phpOMS\Image\Skew;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class SkewTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @group framework
|
|
* @coversNothing
|
|
*/
|
|
public function testSkew() : void
|
|
{
|
|
Skew::autoRotate(
|
|
__DIR__ . '/binary_tilted.png',
|
|
__DIR__ . '/test_binary_untilted.png',
|
|
10,
|
|
[150, 75],
|
|
[1700, 900]
|
|
);
|
|
}
|
|
}
|