php-kilo/tests/TerminalTest.php
2021-03-05 12:06:23 -05:00

17 lines
332 B
PHP

<?php declare(strict_types=1);
namespace Aviat\Kilo\Tests;
use PHPUnit\Framework\TestCase;
use Aviat\Kilo\Terminal;
class TerminalTest extends TestCase {
public function test_getWindowSize(): void
{
[$rows, $cols] = Terminal::getWindowSize();
$this->assertGreaterThan(0, $rows);
$this->assertGreaterThan(0, $cols);
}
}