ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilQTIRenderHotspotTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
PHPUnit\Framework\TestCase
;
22
23
class
ilQTIRenderHotspotTest
extends
TestCase
24
{
25
public
function
testConstruct
(): void
26
{
27
$this->assertInstanceOf(ilQTIRenderHotspot::class,
new
ilQTIRenderHotspot
());
28
}
29
30
public
function
testSetGetMinnumber
(): void
31
{
32
$instance =
new
ilQTIRenderHotspot
();
33
$instance->setMinnumber(
'Some input.'
);
34
$this->assertEquals(
'Some input.'
, $instance->getMinnumber());
35
}
36
37
public
function
testSetGetMaxnumber
(): void
38
{
39
$instance =
new
ilQTIRenderHotspot
();
40
$instance->setMaxnumber(
'Some input.'
);
41
$this->assertEquals(
'Some input.'
, $instance->getMaxnumber());
42
}
43
}
ilQTIRenderHotspotTest\testSetGetMinnumber
testSetGetMinnumber()
Definition:
ilQTIRenderHotspotTest.php:30
ilQTIRenderHotspot
Definition:
class.ilQTIRenderHotspot.php:29
ilQTIRenderHotspotTest\testSetGetMaxnumber
testSetGetMaxnumber()
Definition:
ilQTIRenderHotspotTest.php:37
ilQTIRenderHotspotTest
Definition:
ilQTIRenderHotspotTest.php:23
ilQTIRenderHotspotTest\testConstruct
testConstruct()
Definition:
ilQTIRenderHotspotTest.php:25
TestCase
TestCase
components
ILIAS
TestQuestionPool
tests
QTI
ilQTIRenderHotspotTest.php
Generated on Sun Aug 31 2025 23:04:05 for ILIAS by
1.8.13 (using
Doxyfile
)