1
0
This commit is contained in:
2022-09-21 14:01:45 +02:00
parent 0a30f39eb4
commit cfee4d93d0
349 changed files with 4 additions and 4 deletions

View 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));
}
}