ILIAS  release_8 Revision v8.24
ilQTIRenderChoiceTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22use PHPUnit\Framework\TestCase;
23
24class ilQTIRenderChoiceTest extends TestCase
25{
26 public function testConstruct(): void
27 {
28 $this->assertInstanceOf(ilQTIRenderChoice::class, new ilQTIRenderChoice());
29 }
30
31 public function testSetGetMinnumber(): void
32 {
33 $instance = new ilQTIRenderChoice();
34 $instance->setMinnumber('Some input.');
35 $this->assertEquals('Some input.', $instance->getMinnumber());
36 }
37
38 public function testSetGetMaxnumber(): void
39 {
40 $instance = new ilQTIRenderChoice();
41 $instance->setMaxnumber('Some input.');
42 $this->assertEquals('Some input.', $instance->getMaxnumber());
43 }
44}