ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ChartDataLinesTest.php
Go to the documentation of this file.
1 <?php
2 
20 
27 {
28  protected function tearDown(): void
29  {
30  }
31 
32  public function testLineWidth(): void
33  {
34  $cd = new ilChartDataLines();
35  $cd->setLineWidth(15);
36  $this->assertEquals(
37  15,
38  $cd->getLineWidth()
39  );
40  }
41 
42  public function testLineSteps(): void
43  {
44  $cd = new ilChartDataLines();
45  $cd->setLineSteps(true);
46  $this->assertEquals(
47  true,
48  $cd->getLineSteps()
49  );
50  $cd->setLineSteps(false);
51  $this->assertEquals(
52  false,
53  $cd->getLineSteps()
54  );
55  }
56 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Test clipboard repository.