ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilQTIRenderChoiceTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
23 
24 class 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 }