ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ChartDataLinesTest.php
Go to the documentation of this file.
1
<?php
2
19
use PHPUnit\Framework\TestCase;
20
26
class
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
}
ChartDataLinesTest
Test clipboard repository.
Definition:
ChartDataLinesTest.php:27
ChartDataLinesTest\tearDown
tearDown()
Definition:
ChartDataLinesTest.php:28
ChartDataLinesTest\testLineWidth
testLineWidth()
Definition:
ChartDataLinesTest.php:32
ChartDataLinesTest\testLineSteps
testLineSteps()
Definition:
ChartDataLinesTest.php:42
ilChartDataLines
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilChartDataLines.php:25
components
ILIAS
Chart
tests
ChartDataLinesTest.php
Generated on Sat Oct 18 2025 23:02:44 for ILIAS by
1.9.4 (using
Doxyfile
)