998102816e
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
16 lines
340 B
PHP
16 lines
340 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Aviat\Kilo\Tests;
|
|
|
|
use Aviat\Kilo\Terminal\Terminal;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
|
|
class TerminalTest extends TestCase {
|
|
public function test_getWindowSize(): void
|
|
{
|
|
[$rows, $cols] = Terminal::getWindowSize();
|
|
$this->assertGreaterThan(0, $rows);
|
|
$this->assertGreaterThan(0, $cols);
|
|
}
|
|
} |