ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
EngineeringTest Class Reference
+ Inheritance diagram for EngineeringTest:
+ Collaboration diagram for EngineeringTest:

Public Member Functions

 setUp ()
 
 testBESSELI ()
 providerBESSELI More...
 
 providerBESSELI ()
 
 testBESSELJ ()
 providerBESSELJ More...
 
 providerBESSELJ ()
 
 testBESSELK ()
 providerBESSELK More...
 
 providerBESSELK ()
 
 testBESSELY ()
 providerBESSELY More...
 
 providerBESSELY ()
 
 testCOMPLEX ()
 providerCOMPLEX More...
 
 providerCOMPLEX ()
 
 testIMAGINARY ()
 providerIMAGINARY More...
 
 providerIMAGINARY ()
 
 testIMREAL ()
 providerIMREAL More...
 
 providerIMREAL ()
 
 testIMABS ()
 providerIMABS More...
 
 providerIMABS ()
 
 testIMARGUMENT ()
 providerIMARGUMENT More...
 
 providerIMARGUMENT ()
 
 testIMCONJUGATE ()
 providerIMCONJUGATE More...
 
 providerIMCONJUGATE ()
 
 testIMCOS ()
 providerIMCOS More...
 
 providerIMCOS ()
 
 testIMDIV ()
 providerIMDIV More...
 
 providerIMDIV ()
 
 testIMEXP ()
 providerIMEXP More...
 
 providerIMEXP ()
 
 testIMLN ()
 providerIMLN More...
 
 providerIMLN ()
 
 testIMLOG2 ()
 providerIMLOG2 More...
 
 providerIMLOG2 ()
 
 testIMLOG10 ()
 providerIMLOG10 More...
 
 providerIMLOG10 ()
 
 testIMPOWER ()
 providerIMPOWER More...
 
 providerIMPOWER ()
 
 testIMPRODUCT ()
 providerIMPRODUCT More...
 
 providerIMPRODUCT ()
 
 testIMSIN ()
 providerIMSIN More...
 
 providerIMSIN ()
 
 testIMSQRT ()
 providerIMSQRT More...
 
 providerIMSQRT ()
 
 testIMSUB ()
 providerIMSUB More...
 
 providerIMSUB ()
 
 testIMSUM ()
 providerIMSUM More...
 
 providerIMSUM ()
 
 testERF ()
 providerERF More...
 
 providerERF ()
 
 testERFC ()
 providerERFC More...
 
 providerERFC ()
 
 testBIN2DEC ()
 providerBIN2DEC More...
 
 providerBIN2DEC ()
 
 testBIN2HEX ()
 providerBIN2HEX More...
 
 providerBIN2HEX ()
 
 testBIN2OCT ()
 providerBIN2OCT More...
 
 providerBIN2OCT ()
 
 testDEC2BIN ()
 providerDEC2BIN More...
 
 providerDEC2BIN ()
 
 testDEC2HEX ()
 providerDEC2HEX More...
 
 providerDEC2HEX ()
 
 testDEC2OCT ()
 providerDEC2OCT More...
 
 providerDEC2OCT ()
 
 testHEX2BIN ()
 providerHEX2BIN More...
 
 providerHEX2BIN ()
 
 testHEX2DEC ()
 providerHEX2DEC More...
 
 providerHEX2DEC ()
 
 testHEX2OCT ()
 providerHEX2OCT More...
 
 providerHEX2OCT ()
 
 testOCT2BIN ()
 providerOCT2BIN More...
 
 providerOCT2BIN ()
 
 testOCT2DEC ()
 providerOCT2DEC More...
 
 providerOCT2DEC ()
 
 testOCT2HEX ()
 providerOCT2HEX More...
 
 providerOCT2HEX ()
 
 testDELTA ()
 providerDELTA More...
 
 providerDELTA ()
 
 testGESTEP ()
 providerGESTEP More...
 
 providerGESTEP ()
 
 testGetConversionGroups ()
 
 testGetConversionGroupUnits ()
 
 testGetConversionGroupUnitDetails ()
 
 testGetConversionMultipliers ()
 
 testCONVERTUOM ()
 providerCONVERTUOM More...
 
 providerCONVERTUOM ()
 

Detailed Description

Definition at line 10 of file EngineeringTest.php.

Member Function Documentation

◆ providerBESSELI()

EngineeringTest::providerBESSELI ( )

Definition at line 35 of file EngineeringTest.php.

36  {
37  return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELI.data');
38  }

◆ providerBESSELJ()

EngineeringTest::providerBESSELJ ( )

Definition at line 51 of file EngineeringTest.php.

52  {
53  return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELJ.data');
54  }

◆ providerBESSELK()

EngineeringTest::providerBESSELK ( )

Definition at line 67 of file EngineeringTest.php.

68  {
69  return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELK.data');
70  }

◆ providerBESSELY()

EngineeringTest::providerBESSELY ( )

Definition at line 83 of file EngineeringTest.php.

84  {
85  return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELY.data');
86  }

◆ providerBIN2DEC()

EngineeringTest::providerBIN2DEC ( )

Definition at line 445 of file EngineeringTest.php.

446  {
447  return new testDataFileIterator('rawTestData/Calculation/Engineering/BIN2DEC.data');
448  }

◆ providerBIN2HEX()

EngineeringTest::providerBIN2HEX ( )

Definition at line 461 of file EngineeringTest.php.

462  {
463  return new testDataFileIterator('rawTestData/Calculation/Engineering/BIN2HEX.data');
464  }

◆ providerBIN2OCT()

EngineeringTest::providerBIN2OCT ( )

Definition at line 477 of file EngineeringTest.php.

478  {
479  return new testDataFileIterator('rawTestData/Calculation/Engineering/BIN2OCT.data');
480  }

◆ providerCOMPLEX()

EngineeringTest::providerCOMPLEX ( )

Definition at line 99 of file EngineeringTest.php.

100  {
101  return new testDataFileIterator('rawTestData/Calculation/Engineering/COMPLEX.data');
102  }

◆ providerCONVERTUOM()

EngineeringTest::providerCONVERTUOM ( )

Definition at line 693 of file EngineeringTest.php.

694  {
695  return new testDataFileIterator('rawTestData/Calculation/Engineering/CONVERTUOM.data');
696  }

◆ providerDEC2BIN()

EngineeringTest::providerDEC2BIN ( )

Definition at line 493 of file EngineeringTest.php.

494  {
495  return new testDataFileIterator('rawTestData/Calculation/Engineering/DEC2BIN.data');
496  }

◆ providerDEC2HEX()

EngineeringTest::providerDEC2HEX ( )

Definition at line 509 of file EngineeringTest.php.

510  {
511  return new testDataFileIterator('rawTestData/Calculation/Engineering/DEC2HEX.data');
512  }

◆ providerDEC2OCT()

EngineeringTest::providerDEC2OCT ( )

Definition at line 525 of file EngineeringTest.php.

526  {
527  return new testDataFileIterator('rawTestData/Calculation/Engineering/DEC2OCT.data');
528  }

◆ providerDELTA()

EngineeringTest::providerDELTA ( )

Definition at line 637 of file EngineeringTest.php.

638  {
639  return new testDataFileIterator('rawTestData/Calculation/Engineering/DELTA.data');
640  }

◆ providerERF()

EngineeringTest::providerERF ( )

Definition at line 413 of file EngineeringTest.php.

414  {
415  return new testDataFileIterator('rawTestData/Calculation/Engineering/ERF.data');
416  }

◆ providerERFC()

EngineeringTest::providerERFC ( )

Definition at line 429 of file EngineeringTest.php.

430  {
431  return new testDataFileIterator('rawTestData/Calculation/Engineering/ERFC.data');
432  }

◆ providerGESTEP()

EngineeringTest::providerGESTEP ( )

Definition at line 653 of file EngineeringTest.php.

654  {
655  return new testDataFileIterator('rawTestData/Calculation/Engineering/GESTEP.data');
656  }

◆ providerHEX2BIN()

EngineeringTest::providerHEX2BIN ( )

Definition at line 541 of file EngineeringTest.php.

542  {
543  return new testDataFileIterator('rawTestData/Calculation/Engineering/HEX2BIN.data');
544  }

◆ providerHEX2DEC()

EngineeringTest::providerHEX2DEC ( )

Definition at line 557 of file EngineeringTest.php.

558  {
559  return new testDataFileIterator('rawTestData/Calculation/Engineering/HEX2DEC.data');
560  }

◆ providerHEX2OCT()

EngineeringTest::providerHEX2OCT ( )

Definition at line 573 of file EngineeringTest.php.

574  {
575  return new testDataFileIterator('rawTestData/Calculation/Engineering/HEX2OCT.data');
576  }

◆ providerIMABS()

EngineeringTest::providerIMABS ( )

Definition at line 147 of file EngineeringTest.php.

148  {
149  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMABS.data');
150  }

◆ providerIMAGINARY()

EngineeringTest::providerIMAGINARY ( )

Definition at line 115 of file EngineeringTest.php.

116  {
117  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMAGINARY.data');
118  }

◆ providerIMARGUMENT()

EngineeringTest::providerIMARGUMENT ( )

Definition at line 163 of file EngineeringTest.php.

164  {
165  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMARGUMENT.data');
166  }

◆ providerIMCONJUGATE()

EngineeringTest::providerIMCONJUGATE ( )

Definition at line 181 of file EngineeringTest.php.

182  {
183  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMCONJUGATE.data');
184  }

◆ providerIMCOS()

EngineeringTest::providerIMCOS ( )

Definition at line 199 of file EngineeringTest.php.

200  {
201  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMCOS.data');
202  }

◆ providerIMDIV()

EngineeringTest::providerIMDIV ( )

Definition at line 217 of file EngineeringTest.php.

218  {
219  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMDIV.data');
220  }

◆ providerIMEXP()

EngineeringTest::providerIMEXP ( )

Definition at line 235 of file EngineeringTest.php.

236  {
237  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMEXP.data');
238  }

◆ providerIMLN()

EngineeringTest::providerIMLN ( )

Definition at line 253 of file EngineeringTest.php.

254  {
255  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMLN.data');
256  }

◆ providerIMLOG10()

EngineeringTest::providerIMLOG10 ( )

Definition at line 289 of file EngineeringTest.php.

290  {
291  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMLOG10.data');
292  }

◆ providerIMLOG2()

EngineeringTest::providerIMLOG2 ( )

Definition at line 271 of file EngineeringTest.php.

272  {
273  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMLOG2.data');
274  }

◆ providerIMPOWER()

EngineeringTest::providerIMPOWER ( )

Definition at line 307 of file EngineeringTest.php.

308  {
309  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMPOWER.data');
310  }

◆ providerIMPRODUCT()

EngineeringTest::providerIMPRODUCT ( )

Definition at line 325 of file EngineeringTest.php.

326  {
327  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMPRODUCT.data');
328  }

◆ providerIMREAL()

EngineeringTest::providerIMREAL ( )

Definition at line 131 of file EngineeringTest.php.

132  {
133  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMREAL.data');
134  }

◆ providerIMSIN()

EngineeringTest::providerIMSIN ( )

Definition at line 343 of file EngineeringTest.php.

344  {
345  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSIN.data');
346  }

◆ providerIMSQRT()

EngineeringTest::providerIMSQRT ( )

Definition at line 361 of file EngineeringTest.php.

362  {
363  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSQRT.data');
364  }

◆ providerIMSUB()

EngineeringTest::providerIMSUB ( )

Definition at line 379 of file EngineeringTest.php.

380  {
381  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSUB.data');
382  }

◆ providerIMSUM()

EngineeringTest::providerIMSUM ( )

Definition at line 397 of file EngineeringTest.php.

398  {
399  return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSUM.data');
400  }

◆ providerOCT2BIN()

EngineeringTest::providerOCT2BIN ( )

Definition at line 589 of file EngineeringTest.php.

590  {
591  return new testDataFileIterator('rawTestData/Calculation/Engineering/OCT2BIN.data');
592  }

◆ providerOCT2DEC()

EngineeringTest::providerOCT2DEC ( )

Definition at line 605 of file EngineeringTest.php.

606  {
607  return new testDataFileIterator('rawTestData/Calculation/Engineering/OCT2DEC.data');
608  }

◆ providerOCT2HEX()

EngineeringTest::providerOCT2HEX ( )

Definition at line 621 of file EngineeringTest.php.

622  {
623  return new testDataFileIterator('rawTestData/Calculation/Engineering/OCT2HEX.data');
624  }

◆ setUp()

EngineeringTest::setUp ( )

Definition at line 13 of file EngineeringTest.php.

References PHPExcel_Calculation_Functions\COMPATIBILITY_EXCEL, defined, and PHPExcel_Calculation_Functions\setCompatibilityMode().

14  {
15  if (!defined('PHPEXCEL_ROOT'))
16  {
17  define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
18  }
19  require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
20 
22  }
const COMPATIBILITY_EXCEL
constants
Definition: Functions.php:62
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27
static setCompatibilityMode($compatibilityMode)
Definition: Functions.php:116
+ Here is the call graph for this function:

◆ testBESSELI()

EngineeringTest::testBESSELI ( )

providerBESSELI

Definition at line 27 of file EngineeringTest.php.

References $result, and array.

28  {
29  $args = func_get_args();
30  $expectedResult = array_pop($args);
31  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELI'),$args);
32  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
33  }
$result
Create styles array
The data for the language used.

◆ testBESSELJ()

EngineeringTest::testBESSELJ ( )

providerBESSELJ

Definition at line 43 of file EngineeringTest.php.

References $result, and array.

44  {
45  $args = func_get_args();
46  $expectedResult = array_pop($args);
47  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELJ'),$args);
48  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
49  }
$result
Create styles array
The data for the language used.

◆ testBESSELK()

EngineeringTest::testBESSELK ( )

providerBESSELK

Definition at line 59 of file EngineeringTest.php.

References $result, and array.

60  {
61  $args = func_get_args();
62  $expectedResult = array_pop($args);
63  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELK'),$args);
64  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
65  }
$result
Create styles array
The data for the language used.

◆ testBESSELY()

EngineeringTest::testBESSELY ( )

providerBESSELY

Definition at line 75 of file EngineeringTest.php.

References $result, and array.

76  {
77  $args = func_get_args();
78  $expectedResult = array_pop($args);
79  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELY'),$args);
80  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
81  }
$result
Create styles array
The data for the language used.

◆ testBIN2DEC()

EngineeringTest::testBIN2DEC ( )

providerBIN2DEC

Definition at line 437 of file EngineeringTest.php.

References $result, and array.

438  {
439  $args = func_get_args();
440  $expectedResult = array_pop($args);
441  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BINTODEC'),$args);
442  $this->assertEquals($expectedResult, $result);
443  }
$result
Create styles array
The data for the language used.

◆ testBIN2HEX()

EngineeringTest::testBIN2HEX ( )

providerBIN2HEX

Definition at line 453 of file EngineeringTest.php.

References $result, and array.

454  {
455  $args = func_get_args();
456  $expectedResult = array_pop($args);
457  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BINTOHEX'),$args);
458  $this->assertEquals($expectedResult, $result);
459  }
$result
Create styles array
The data for the language used.

◆ testBIN2OCT()

EngineeringTest::testBIN2OCT ( )

providerBIN2OCT

Definition at line 469 of file EngineeringTest.php.

References $result, and array.

470  {
471  $args = func_get_args();
472  $expectedResult = array_pop($args);
473  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BINTOOCT'),$args);
474  $this->assertEquals($expectedResult, $result);
475  }
$result
Create styles array
The data for the language used.

◆ testCOMPLEX()

EngineeringTest::testCOMPLEX ( )

providerCOMPLEX

Definition at line 91 of file EngineeringTest.php.

References $result, and array.

92  {
93  $args = func_get_args();
94  $expectedResult = array_pop($args);
95  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','COMPLEX'),$args);
96  $this->assertEquals($expectedResult, $result);
97  }
$result
Create styles array
The data for the language used.

◆ testCONVERTUOM()

EngineeringTest::testCONVERTUOM ( )

providerCONVERTUOM

Definition at line 685 of file EngineeringTest.php.

References $result, and array.

686  {
687  $args = func_get_args();
688  $expectedResult = array_pop($args);
689  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','CONVERTUOM'),$args);
690  $this->assertEquals($expectedResult, $result, NULL);
691  }
$result
Create styles array
The data for the language used.

◆ testDEC2BIN()

EngineeringTest::testDEC2BIN ( )

providerDEC2BIN

Definition at line 485 of file EngineeringTest.php.

References $result, and array.

486  {
487  $args = func_get_args();
488  $expectedResult = array_pop($args);
489  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DECTOBIN'),$args);
490  $this->assertEquals($expectedResult, $result, NULL);
491  }
$result
Create styles array
The data for the language used.

◆ testDEC2HEX()

EngineeringTest::testDEC2HEX ( )

providerDEC2HEX

Definition at line 501 of file EngineeringTest.php.

References $result, and array.

502  {
503  $args = func_get_args();
504  $expectedResult = array_pop($args);
505  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DECTOHEX'),$args);
506  $this->assertEquals($expectedResult, $result, NULL);
507  }
$result
Create styles array
The data for the language used.

◆ testDEC2OCT()

EngineeringTest::testDEC2OCT ( )

providerDEC2OCT

Definition at line 517 of file EngineeringTest.php.

References $result, and array.

518  {
519  $args = func_get_args();
520  $expectedResult = array_pop($args);
521  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DECTOOCT'),$args);
522  $this->assertEquals($expectedResult, $result, NULL);
523  }
$result
Create styles array
The data for the language used.

◆ testDELTA()

EngineeringTest::testDELTA ( )

providerDELTA

Definition at line 629 of file EngineeringTest.php.

References $result, and array.

630  {
631  $args = func_get_args();
632  $expectedResult = array_pop($args);
633  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DELTA'),$args);
634  $this->assertEquals($expectedResult, $result, NULL);
635  }
$result
Create styles array
The data for the language used.

◆ testERF()

EngineeringTest::testERF ( )

providerERF

Definition at line 405 of file EngineeringTest.php.

References $result, and array.

406  {
407  $args = func_get_args();
408  $expectedResult = array_pop($args);
409  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','ERF'),$args);
410  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
411  }
$result
Create styles array
The data for the language used.

◆ testERFC()

EngineeringTest::testERFC ( )

providerERFC

Definition at line 421 of file EngineeringTest.php.

References $result, and array.

422  {
423  $args = func_get_args();
424  $expectedResult = array_pop($args);
425  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','ERFC'),$args);
426  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
427  }
$result
Create styles array
The data for the language used.

◆ testGESTEP()

EngineeringTest::testGESTEP ( )

providerGESTEP

Definition at line 645 of file EngineeringTest.php.

References $result, and array.

646  {
647  $args = func_get_args();
648  $expectedResult = array_pop($args);
649  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','GESTEP'),$args);
650  $this->assertEquals($expectedResult, $result, NULL);
651  }
$result
Create styles array
The data for the language used.

◆ testGetConversionGroups()

EngineeringTest::testGetConversionGroups ( )

Definition at line 658 of file EngineeringTest.php.

References $result, and PHPExcel_Calculation_Engineering\getConversionGroups().

659  {
661  $this->assertInternalType('array', $result);
662  }
$result
static getConversionGroups()
getConversionGroups Returns a list of the different conversion groups for UOM conversions ...
+ Here is the call graph for this function:

◆ testGetConversionGroupUnitDetails()

EngineeringTest::testGetConversionGroupUnitDetails ( )

Definition at line 670 of file EngineeringTest.php.

References $result, and PHPExcel_Calculation_Engineering\getConversionGroupUnitDetails().

671  {
673  $this->assertInternalType('array', $result);
674  }
$result
static getConversionGroupUnitDetails($group=NULL)
getConversionGroupUnitDetails
+ Here is the call graph for this function:

◆ testGetConversionGroupUnits()

EngineeringTest::testGetConversionGroupUnits ( )

Definition at line 664 of file EngineeringTest.php.

References $result, and PHPExcel_Calculation_Engineering\getConversionGroupUnits().

665  {
667  $this->assertInternalType('array', $result);
668  }
$result
static getConversionGroupUnits($group=NULL)
getConversionGroupUnits Returns an array of units of measure, for a specified conversion group...
+ Here is the call graph for this function:

◆ testGetConversionMultipliers()

EngineeringTest::testGetConversionMultipliers ( )

Definition at line 676 of file EngineeringTest.php.

References $result, and PHPExcel_Calculation_Engineering\getConversionMultipliers().

677  {
679  $this->assertInternalType('array', $result);
680  }
$result
static getConversionMultipliers()
getConversionMultipliers Returns an array of the Multiplier prefixes that can be used with Units of M...
+ Here is the call graph for this function:

◆ testHEX2BIN()

EngineeringTest::testHEX2BIN ( )

providerHEX2BIN

Definition at line 533 of file EngineeringTest.php.

References $result, and array.

534  {
535  $args = func_get_args();
536  $expectedResult = array_pop($args);
537  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','HEXTOBIN'),$args);
538  $this->assertEquals($expectedResult, $result, NULL);
539  }
$result
Create styles array
The data for the language used.

◆ testHEX2DEC()

EngineeringTest::testHEX2DEC ( )

providerHEX2DEC

Definition at line 549 of file EngineeringTest.php.

References $result, and array.

550  {
551  $args = func_get_args();
552  $expectedResult = array_pop($args);
553  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','HEXTODEC'),$args);
554  $this->assertEquals($expectedResult, $result, NULL);
555  }
$result
Create styles array
The data for the language used.

◆ testHEX2OCT()

EngineeringTest::testHEX2OCT ( )

providerHEX2OCT

Definition at line 565 of file EngineeringTest.php.

References $result, and array.

566  {
567  $args = func_get_args();
568  $expectedResult = array_pop($args);
569  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','HEXTOOCT'),$args);
570  $this->assertEquals($expectedResult, $result, NULL);
571  }
$result
Create styles array
The data for the language used.

◆ testIMABS()

EngineeringTest::testIMABS ( )

providerIMABS

Definition at line 139 of file EngineeringTest.php.

References $result, and array.

140  {
141  $args = func_get_args();
142  $expectedResult = array_pop($args);
143  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMABS'),$args);
144  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
145  }
$result
Create styles array
The data for the language used.

◆ testIMAGINARY()

EngineeringTest::testIMAGINARY ( )

providerIMAGINARY

Definition at line 107 of file EngineeringTest.php.

References $result, and array.

108  {
109  $args = func_get_args();
110  $expectedResult = array_pop($args);
111  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMAGINARY'),$args);
112  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
113  }
$result
Create styles array
The data for the language used.

◆ testIMARGUMENT()

EngineeringTest::testIMARGUMENT ( )

providerIMARGUMENT

Definition at line 155 of file EngineeringTest.php.

References $result, and array.

156  {
157  $args = func_get_args();
158  $expectedResult = array_pop($args);
159  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMARGUMENT'),$args);
160  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
161  }
$result
Create styles array
The data for the language used.

◆ testIMCONJUGATE()

EngineeringTest::testIMCONJUGATE ( )

providerIMCONJUGATE

Definition at line 171 of file EngineeringTest.php.

References $result, and array.

172  {
173  $args = func_get_args();
174  $expectedResult = array_pop($args);
175  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMCONJUGATE'),$args);
176  $complexAssert = new complexAssert();
177  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
178  $complexAssert->getErrorMessage());
179  }
$result
Create styles array
The data for the language used.

◆ testIMCOS()

EngineeringTest::testIMCOS ( )

providerIMCOS

Definition at line 189 of file EngineeringTest.php.

References $result, and array.

190  {
191  $args = func_get_args();
192  $expectedResult = array_pop($args);
193  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMCOS'),$args);
194  $complexAssert = new complexAssert();
195  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
196  $complexAssert->getErrorMessage());
197  }
$result
Create styles array
The data for the language used.

◆ testIMDIV()

EngineeringTest::testIMDIV ( )

providerIMDIV

Definition at line 207 of file EngineeringTest.php.

References $result, and array.

208  {
209  $args = func_get_args();
210  $expectedResult = array_pop($args);
211  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMDIV'),$args);
212  $complexAssert = new complexAssert();
213  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
214  $complexAssert->getErrorMessage());
215  }
$result
Create styles array
The data for the language used.

◆ testIMEXP()

EngineeringTest::testIMEXP ( )

providerIMEXP

Definition at line 225 of file EngineeringTest.php.

References $result, and array.

226  {
227  $args = func_get_args();
228  $expectedResult = array_pop($args);
229  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMEXP'),$args);
230  $complexAssert = new complexAssert();
231  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
232  $complexAssert->getErrorMessage());
233  }
$result
Create styles array
The data for the language used.

◆ testIMLN()

EngineeringTest::testIMLN ( )

providerIMLN

Definition at line 243 of file EngineeringTest.php.

References $result, and array.

244  {
245  $args = func_get_args();
246  $expectedResult = array_pop($args);
247  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMLN'),$args);
248  $complexAssert = new complexAssert();
249  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
250  $complexAssert->getErrorMessage());
251  }
$result
Create styles array
The data for the language used.

◆ testIMLOG10()

EngineeringTest::testIMLOG10 ( )

providerIMLOG10

Definition at line 279 of file EngineeringTest.php.

References $result, and array.

280  {
281  $args = func_get_args();
282  $expectedResult = array_pop($args);
283  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMLOG10'),$args);
284  $complexAssert = new complexAssert();
285  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
286  $complexAssert->getErrorMessage());
287  }
$result
Create styles array
The data for the language used.

◆ testIMLOG2()

EngineeringTest::testIMLOG2 ( )

providerIMLOG2

Definition at line 261 of file EngineeringTest.php.

References $result, and array.

262  {
263  $args = func_get_args();
264  $expectedResult = array_pop($args);
265  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMLOG2'),$args);
266  $complexAssert = new complexAssert();
267  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
268  $complexAssert->getErrorMessage());
269  }
$result
Create styles array
The data for the language used.

◆ testIMPOWER()

EngineeringTest::testIMPOWER ( )

providerIMPOWER

Definition at line 297 of file EngineeringTest.php.

References $result, and array.

298  {
299  $args = func_get_args();
300  $expectedResult = array_pop($args);
301  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMPOWER'),$args);
302  $complexAssert = new complexAssert();
303  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
304  $complexAssert->getErrorMessage());
305  }
$result
Create styles array
The data for the language used.

◆ testIMPRODUCT()

EngineeringTest::testIMPRODUCT ( )

providerIMPRODUCT

Definition at line 315 of file EngineeringTest.php.

References $result, and array.

316  {
317  $args = func_get_args();
318  $expectedResult = array_pop($args);
319  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMPRODUCT'),$args);
320  $complexAssert = new complexAssert();
321  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
322  $complexAssert->getErrorMessage());
323  }
$result
Create styles array
The data for the language used.

◆ testIMREAL()

EngineeringTest::testIMREAL ( )

providerIMREAL

Definition at line 123 of file EngineeringTest.php.

References $result, and array.

124  {
125  $args = func_get_args();
126  $expectedResult = array_pop($args);
127  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMREAL'),$args);
128  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
129  }
$result
Create styles array
The data for the language used.

◆ testIMSIN()

EngineeringTest::testIMSIN ( )

providerIMSIN

Definition at line 333 of file EngineeringTest.php.

References $result, and array.

334  {
335  $args = func_get_args();
336  $expectedResult = array_pop($args);
337  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSIN'),$args);
338  $complexAssert = new complexAssert();
339  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
340  $complexAssert->getErrorMessage());
341  }
$result
Create styles array
The data for the language used.

◆ testIMSQRT()

EngineeringTest::testIMSQRT ( )

providerIMSQRT

Definition at line 351 of file EngineeringTest.php.

References $result, and array.

352  {
353  $args = func_get_args();
354  $expectedResult = array_pop($args);
355  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSQRT'),$args);
356  $complexAssert = new complexAssert();
357  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
358  $complexAssert->getErrorMessage());
359  }
$result
Create styles array
The data for the language used.

◆ testIMSUB()

EngineeringTest::testIMSUB ( )

providerIMSUB

Definition at line 369 of file EngineeringTest.php.

References $result, and array.

370  {
371  $args = func_get_args();
372  $expectedResult = array_pop($args);
373  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSUB'),$args);
374  $complexAssert = new complexAssert();
375  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
376  $complexAssert->getErrorMessage());
377  }
$result
Create styles array
The data for the language used.

◆ testIMSUM()

EngineeringTest::testIMSUM ( )

providerIMSUM

Definition at line 387 of file EngineeringTest.php.

References $result, and array.

388  {
389  $args = func_get_args();
390  $expectedResult = array_pop($args);
391  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSUM'),$args);
392  $complexAssert = new complexAssert();
393  $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8),
394  $complexAssert->getErrorMessage());
395  }
$result
Create styles array
The data for the language used.

◆ testOCT2BIN()

EngineeringTest::testOCT2BIN ( )

providerOCT2BIN

Definition at line 581 of file EngineeringTest.php.

References $result, and array.

582  {
583  $args = func_get_args();
584  $expectedResult = array_pop($args);
585  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','OCTTOBIN'),$args);
586  $this->assertEquals($expectedResult, $result, NULL);
587  }
$result
Create styles array
The data for the language used.

◆ testOCT2DEC()

EngineeringTest::testOCT2DEC ( )

providerOCT2DEC

Definition at line 597 of file EngineeringTest.php.

References $result, and array.

598  {
599  $args = func_get_args();
600  $expectedResult = array_pop($args);
601  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','OCTTODEC'),$args);
602  $this->assertEquals($expectedResult, $result, NULL);
603  }
$result
Create styles array
The data for the language used.

◆ testOCT2HEX()

EngineeringTest::testOCT2HEX ( )

providerOCT2HEX

Definition at line 613 of file EngineeringTest.php.

References $result, and array.

614  {
615  $args = func_get_args();
616  $expectedResult = array_pop($args);
617  $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','OCTTOHEX'),$args);
618  $this->assertEquals($expectedResult, $result, NULL);
619  }
$result
Create styles array
The data for the language used.

The documentation for this class was generated from the following file: