1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/condorcet/Tests/src/CondorcetVersionTest.php

20 lines
470 B
PHP
Raw Normal View History

2022-09-21 12:39:11 +02:00
<?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));
}
}