ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
() : void
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'
, null],
34
], parent::powData());
35
}
36
}
ilMathBCAdapterTest\powData
powData()
Definition:
ilMathBCAdapterTest.php:30
ilMathBCMathAdapter
Class ilMathBCMathAdapter.
Definition:
class.ilMathBCMathAdapter.php:10
ilMathBaseAdapterTest
Definition:
ilMathBaseAdapterTest.php:12
ilMathBCAdapterTest
Definition:
ilMathBCAdapterTest.php:10
ilMathBCAdapterTest\setUp
setUp()
Definition:
ilMathBCAdapterTest.php:15
Services
Math
test
ilMathBCAdapterTest.php
Generated on Mon Sep 1 2025 20:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)