ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
ilMathBCAdapterTest.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Math/test/ilMathBaseAdapterTest.php'
;
5
10
class
ilMathBCAdapterTest
extends
ilMathBaseAdapterTest
11
{
15
public
function
setUp
()
16
{
17
if
(!extension_loaded(
'bcmath'
)) {
18
$this->markTestSkipped(
'Could not execute test due to missing bcmath extension!'
);
19
return
;
20
}
21
22
require_once
'Services/Math/classes/class.ilMathBCMathAdapter.php'
;
23
$this->mathAdapter =
new
ilMathBCMathAdapter
();
24
parent::setUp();
25
}
26
30
public
function
powData
()
31
{
32
return
array_merge([
33
[
'2'
,
'64'
,
'18446744073709551616'
, self::DEFAULT_SCALE],
34
], parent::powData());
35
}
36
}
ilMathBCAdapterTest\powData
powData()
Definition:
ilMathBCAdapterTest.php:30
ilMathBCMathAdapter
Class ilMathBCMathAdapter.
Definition:
class.ilMathBCMathAdapter.php:10
ilMathBaseAdapterTest
Definition:
ilMathBaseAdapterTest.php:8
ilMathBCAdapterTest
Definition:
ilMathBCAdapterTest.php:10
ilMathBCAdapterTest\setUp
setUp()
Definition:
ilMathBCAdapterTest.php:15
Services
Math
test
ilMathBCAdapterTest.php
Generated on Sat Jan 18 2025 19:01:34 for ILIAS by
1.8.13 (using
Doxyfile
)