ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
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 }
Class ilMathBCMathAdapter.