ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ChartDataLinesTest.php
Go to the documentation of this file.
1<?php
2
19use PHPUnit\Framework\TestCase;
20
26class ChartDataLinesTest extends TestCase
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}
Test clipboard repository.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...