debug
This commit is contained in:
19
include/condorcet/Tests/src/CondorcetVersionTest.php
Normal file
19
include/condorcet/Tests/src/CondorcetVersionTest.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace CondorcetPHP\Condorcet\Tests;
|
||||
|
||||
use CondorcetPHP\Condorcet\{Condorcet, Election};
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class CondorcetVersionTest extends TestCase
|
||||
{
|
||||
public function testObjectVersion(): void
|
||||
{
|
||||
$election = new Election;
|
||||
|
||||
self::assertSame(CONDORCET::getVersion(), $election->getObjectVersion());
|
||||
self::assertSame(CONDORCET::getVersion(true), $election->getObjectVersion(true));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user