mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
26 lines
493 B
PHP
26 lines
493 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\Tests;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
class GlobalDefinesTest extends TestCase
|
|
{
|
|
public function testGlobalDefines(): void
|
|
{
|
|
require __DIR__ . '/../../src/globals/defines.php';
|
|
$this->assertTrue(defined('WORKING_DIR'));
|
|
}
|
|
|
|
public function testInternalEnv(): void
|
|
{
|
|
require __DIR__ . '/../../src/globals/internal-env.php';
|
|
$this->assertTrue(defined('GNU_ARCH'));
|
|
}
|
|
}
|