This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
syokuhou-config/tests/SyokuhouTest.php
2023-10-20 21:21:17 +00:00

19 lines
514 B
PHP

<?php
// SyokuhouTest.php
// Created: 2023-10-20
// Updated: 2023-10-20
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
/**
* @covers \Syokuhou\SyokuhouInfo
*/
final class SyokuhouTest extends TestCase {
public function testVersionDecode(): void {
$expected = trim(file_get_contents(__DIR__ . '/../VERSION'));
$this->assertEquals($expected, \Syokuhou\SyokuhouInfo::getVersionString());
$this->assertEquals($expected, (string)\Syokuhou\SyokuhouInfo::getVersion());
}
}