ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilQTIPresentationTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
23 
24 class ilQTIPresentationTest extends TestCase
25 {
26  public function testConstruct(): void
27  {
28  $this->assertInstanceOf(ilQTIPresentation::class, new ilQTIPresentation());
29  }
30 
31  public function testSetGetLabel(): void
32  {
33  $instance = new ilQTIPresentation();
34  $instance->setLabel('Some input.');
35  $this->assertEquals('Some input.', $instance->getLabel());
36  }
37 
38  public function testSetGetXmllang(): void
39  {
40  $instance = new ilQTIPresentation();
41  $instance->setXmllang('Some input.');
42  $this->assertEquals('Some input.', $instance->getXmllang());
43  }
44 
45  public function testSetGetX0(): void
46  {
47  $instance = new ilQTIPresentation();
48  $instance->setX0('Some input.');
49  $this->assertEquals('Some input.', $instance->getX0());
50  }
51 
52  public function testSetGetY0(): void
53  {
54  $instance = new ilQTIPresentation();
55  $instance->setY0('Some input.');
56  $this->assertEquals('Some input.', $instance->getY0());
57  }
58 
59  public function testSetGetWidth(): void
60  {
61  $instance = new ilQTIPresentation();
62  $instance->setWidth('Some input.');
63  $this->assertEquals('Some input.', $instance->getWidth());
64  }
65 
66  public function testSetGetHeight(): void
67  {
68  $instance = new ilQTIPresentation();
69  $instance->setHeight('Some input.');
70  $this->assertEquals('Some input.', $instance->getHeight());
71  }
72 }