ILIAS  release_8 Revision v8.24
ChartDataLinesTest.php
Go to the documentation of this file.
1<?php
2
3use PHPUnit\Framework\TestCase;
4
10class ChartDataLinesTest extends TestCase
11{
12 protected function tearDown(): void
13 {
14 }
15
16 public function testLineWidth(): void
17 {
18 $cd = new ilChartDataLines();
19 $cd->setLineWidth(15);
20 $this->assertEquals(
21 15,
22 $cd->getLineWidth()
23 );
24 }
25
26 public function testLineSteps(): void
27 {
28 $cd = new ilChartDataLines();
29 $cd->setLineSteps(true);
30 $this->assertEquals(
31 true,
32 $cd->getLineSteps()
33 );
34 $cd->setLineSteps(false);
35 $this->assertEquals(
36 false,
37 $cd->getLineSteps()
38 );
39 }
40}
Test clipboard repository.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...