More stringable

This commit is contained in:
2024-03-19 14:10:19 +00:00
parent 11fafc129a
commit e5a96226ca
5 changed files with 7 additions and 10 deletions

View File

@ -12,7 +12,6 @@ class PlayerTest extends TestCase
public function testPlayerObjectGetterSetter(): void
{
$p = new Player('dummy', 0.1, 0.2);
$this->assertEquals('dummy', (string)$p);
$this->assertEquals('dummy', $p->getId());
$this->assertEquals(0.1, $p->getPartialPlayPercentage());
$this->assertEquals(0.2, $p->getPartialUpdatePercentage());