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