ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ 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\testLineWidth
testLineWidth()
Definition:
ChartDataLinesTest.php:32
ChartDataLinesTest\testLineSteps
testLineSteps()
Definition:
ChartDataLinesTest.php:42
ChartDataLinesTest\tearDown
tearDown()
Definition:
ChartDataLinesTest.php:28
ilChartDataLines
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilChartDataLines.php:24
TestCase
ChartDataLinesTest
Test clipboard repository.
Definition:
ChartDataLinesTest.php:26
TestCase
components
ILIAS
Chart
tests
ChartDataLinesTest.php
Generated on Wed Sep 3 2025 23:02:34 for ILIAS by
1.8.13 (using
Doxyfile
)