ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
MathTrigTest Class Reference
+ Inheritance diagram for MathTrigTest:
+ Collaboration diagram for MathTrigTest:

Public Member Functions

 setUp ()
 
 testATAN2 ()
 providerATAN2 More...
 
 providerATAN2 ()
 
 testCEILING ()
 providerCEILING More...
 
 providerCEILING ()
 
 testCOMBIN ()
 providerCOMBIN More...
 
 providerCOMBIN ()
 
 testEVEN ()
 providerEVEN More...
 
 providerEVEN ()
 
 testODD ()
 providerODD More...
 
 providerODD ()
 
 testFACT ()
 providerFACT More...
 
 providerFACT ()
 
 testFACTDOUBLE ()
 providerFACTDOUBLE More...
 
 providerFACTDOUBLE ()
 
 testFLOOR ()
 providerFLOOR More...
 
 providerFLOOR ()
 
 testGCD ()
 providerGCD More...
 
 providerGCD ()
 
 testLCM ()
 providerLCM More...
 
 providerLCM ()
 
 testINT ()
 providerINT More...
 
 providerINT ()
 
 testSIGN ()
 providerSIGN More...
 
 providerSIGN ()
 
 testPOWER ()
 providerPOWER More...
 
 providerPOWER ()
 
 testLOG ()
 providerLOG More...
 
 providerLOG ()
 
 testMOD ()
 providerMOD More...
 
 providerMOD ()
 
 testMDETERM ()
 providerMDETERM More...
 
 providerMDETERM ()
 
 testMINVERSE ()
 providerMINVERSE More...
 
 providerMINVERSE ()
 
 testMMULT ()
 providerMMULT More...
 
 providerMMULT ()
 
 testMULTINOMIAL ()
 providerMULTINOMIAL More...
 
 providerMULTINOMIAL ()
 
 testMROUND ()
 providerMROUND More...
 
 providerMROUND ()
 
 testPRODUCT ()
 providerPRODUCT More...
 
 providerPRODUCT ()
 
 testQUOTIENT ()
 providerQUOTIENT More...
 
 providerQUOTIENT ()
 
 testROUNDUP ()
 providerROUNDUP More...
 
 providerROUNDUP ()
 
 testROUNDDOWN ()
 providerROUNDDOWN More...
 
 providerROUNDDOWN ()
 
 testSERIESSUM ()
 providerSERIESSUM More...
 
 providerSERIESSUM ()
 
 testSUMSQ ()
 providerSUMSQ More...
 
 providerSUMSQ ()
 
 testTRUNC ()
 providerTRUNC More...
 
 providerTRUNC ()
 
 testROMAN ()
 providerROMAN More...
 
 providerROMAN ()
 
 testSQRTPI ()
 providerSQRTPI More...
 
 providerSQRTPI ()
 
 testSUMIF ()
 providerSUMIF More...
 
 providerSUMIF ()
 

Detailed Description

Definition at line 6 of file MathTrigTest.php.

Member Function Documentation

◆ providerATAN2()

MathTrigTest::providerATAN2 ( )

Definition at line 31 of file MathTrigTest.php.

32  {
33  return new testDataFileIterator('rawTestData/Calculation/MathTrig/ATAN2.data');
34  }

◆ providerCEILING()

MathTrigTest::providerCEILING ( )

Definition at line 47 of file MathTrigTest.php.

48  {
49  return new testDataFileIterator('rawTestData/Calculation/MathTrig/CEILING.data');
50  }

◆ providerCOMBIN()

MathTrigTest::providerCOMBIN ( )

Definition at line 63 of file MathTrigTest.php.

64  {
65  return new testDataFileIterator('rawTestData/Calculation/MathTrig/COMBIN.data');
66  }

◆ providerEVEN()

MathTrigTest::providerEVEN ( )

Definition at line 79 of file MathTrigTest.php.

80  {
81  return new testDataFileIterator('rawTestData/Calculation/MathTrig/EVEN.data');
82  }

◆ providerFACT()

MathTrigTest::providerFACT ( )

Definition at line 111 of file MathTrigTest.php.

112  {
113  return new testDataFileIterator('rawTestData/Calculation/MathTrig/FACT.data');
114  }

◆ providerFACTDOUBLE()

MathTrigTest::providerFACTDOUBLE ( )

Definition at line 127 of file MathTrigTest.php.

128  {
129  return new testDataFileIterator('rawTestData/Calculation/MathTrig/FACTDOUBLE.data');
130  }

◆ providerFLOOR()

MathTrigTest::providerFLOOR ( )

Definition at line 143 of file MathTrigTest.php.

144  {
145  return new testDataFileIterator('rawTestData/Calculation/MathTrig/FLOOR.data');
146  }

◆ providerGCD()

MathTrigTest::providerGCD ( )

Definition at line 159 of file MathTrigTest.php.

160  {
161  return new testDataFileIterator('rawTestData/Calculation/MathTrig/GCD.data');
162  }

◆ providerINT()

MathTrigTest::providerINT ( )

Definition at line 191 of file MathTrigTest.php.

192  {
193  return new testDataFileIterator('rawTestData/Calculation/MathTrig/INT.data');
194  }

◆ providerLCM()

MathTrigTest::providerLCM ( )

Definition at line 175 of file MathTrigTest.php.

176  {
177  return new testDataFileIterator('rawTestData/Calculation/MathTrig/LCM.data');
178  }

◆ providerLOG()

MathTrigTest::providerLOG ( )

Definition at line 239 of file MathTrigTest.php.

240  {
241  return new testDataFileIterator('rawTestData/Calculation/MathTrig/LOG.data');
242  }

◆ providerMDETERM()

MathTrigTest::providerMDETERM ( )

Definition at line 271 of file MathTrigTest.php.

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

◆ providerMINVERSE()

MathTrigTest::providerMINVERSE ( )

Definition at line 287 of file MathTrigTest.php.

288  {
289  return new testDataFileIterator('rawTestData/Calculation/MathTrig/MINVERSE.data');
290  }

◆ providerMMULT()

MathTrigTest::providerMMULT ( )

Definition at line 303 of file MathTrigTest.php.

304  {
305  return new testDataFileIterator('rawTestData/Calculation/MathTrig/MMULT.data');
306  }

◆ providerMOD()

MathTrigTest::providerMOD ( )

Definition at line 255 of file MathTrigTest.php.

256  {
257  return new testDataFileIterator('rawTestData/Calculation/MathTrig/MOD.data');
258  }

◆ providerMROUND()

MathTrigTest::providerMROUND ( )

Definition at line 337 of file MathTrigTest.php.

338  {
339  return new testDataFileIterator('rawTestData/Calculation/MathTrig/MROUND.data');
340  }

◆ providerMULTINOMIAL()

MathTrigTest::providerMULTINOMIAL ( )

Definition at line 319 of file MathTrigTest.php.

320  {
321  return new testDataFileIterator('rawTestData/Calculation/MathTrig/MULTINOMIAL.data');
322  }

◆ providerODD()

MathTrigTest::providerODD ( )

Definition at line 95 of file MathTrigTest.php.

96  {
97  return new testDataFileIterator('rawTestData/Calculation/MathTrig/ODD.data');
98  }

◆ providerPOWER()

MathTrigTest::providerPOWER ( )

Definition at line 223 of file MathTrigTest.php.

224  {
225  return new testDataFileIterator('rawTestData/Calculation/MathTrig/POWER.data');
226  }

◆ providerPRODUCT()

MathTrigTest::providerPRODUCT ( )

Definition at line 353 of file MathTrigTest.php.

354  {
355  return new testDataFileIterator('rawTestData/Calculation/MathTrig/PRODUCT.data');
356  }

◆ providerQUOTIENT()

MathTrigTest::providerQUOTIENT ( )

Definition at line 369 of file MathTrigTest.php.

370  {
371  return new testDataFileIterator('rawTestData/Calculation/MathTrig/QUOTIENT.data');
372  }

◆ providerROMAN()

MathTrigTest::providerROMAN ( )

Definition at line 465 of file MathTrigTest.php.

466  {
467  return new testDataFileIterator('rawTestData/Calculation/MathTrig/ROMAN.data');
468  }

◆ providerROUNDDOWN()

MathTrigTest::providerROUNDDOWN ( )

Definition at line 401 of file MathTrigTest.php.

402  {
403  return new testDataFileIterator('rawTestData/Calculation/MathTrig/ROUNDDOWN.data');
404  }

◆ providerROUNDUP()

MathTrigTest::providerROUNDUP ( )

Definition at line 385 of file MathTrigTest.php.

386  {
387  return new testDataFileIterator('rawTestData/Calculation/MathTrig/ROUNDUP.data');
388  }

◆ providerSERIESSUM()

MathTrigTest::providerSERIESSUM ( )

Definition at line 417 of file MathTrigTest.php.

418  {
419  return new testDataFileIterator('rawTestData/Calculation/MathTrig/SERIESSUM.data');
420  }

◆ providerSIGN()

MathTrigTest::providerSIGN ( )

Definition at line 207 of file MathTrigTest.php.

208  {
209  return new testDataFileIterator('rawTestData/Calculation/MathTrig/SIGN.data');
210  }

◆ providerSQRTPI()

MathTrigTest::providerSQRTPI ( )

Definition at line 481 of file MathTrigTest.php.

482  {
483  return new testDataFileIterator('rawTestData/Calculation/MathTrig/SQRTPI.data');
484  }

◆ providerSUMIF()

MathTrigTest::providerSUMIF ( )

Definition at line 497 of file MathTrigTest.php.

References array.

498  {
499  return array(
500  array(
501  array(
502  array(1),
503  array(5),
504  array(10),
505  ),
506  '>=5',
507  15,
508  ),
509  array(
510  array(
511  array('text'),
512  array(2),
513  ),
514  '=text',
515  array(
516  array(10),
517  array(100),
518  ),
519  10,
520  ),
521  array(
522  array(
523  array('"text with quotes"'),
524  array(2),
525  ),
526  '="text with quotes"',
527  array(
528  array(10),
529  array(100),
530  ),
531  10,
532  ),
533  array(
534  array(
535  array('"text with quotes"'),
536  array(''),
537  ),
538  '>"', // Compare to the single characater " (double quote)
539  array(
540  array(10),
541  array(100),
542  ),
543  10
544  ),
545  array(
546  array(
547  array(''),
548  array('anything'),
549  ),
550  '>"', // Compare to the single characater " (double quote)
551  array(
552  array(10),
553  array(100),
554  ),
555  100
556  ),
557  );
558  }
Create styles array
The data for the language used.

◆ providerSUMSQ()

MathTrigTest::providerSUMSQ ( )

Definition at line 433 of file MathTrigTest.php.

434  {
435  return new testDataFileIterator('rawTestData/Calculation/MathTrig/SUMSQ.data');
436  }

◆ providerTRUNC()

MathTrigTest::providerTRUNC ( )

Definition at line 449 of file MathTrigTest.php.

450  {
451  return new testDataFileIterator('rawTestData/Calculation/MathTrig/TRUNC.data');
452  }

◆ setUp()

MathTrigTest::setUp ( )

Definition at line 9 of file MathTrigTest.php.

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

10  {
11  if (!defined('PHPEXCEL_ROOT'))
12  {
13  define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
14  }
15  require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
16 
18  }
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:

◆ testATAN2()

MathTrigTest::testATAN2 ( )

providerATAN2

Definition at line 23 of file MathTrigTest.php.

References $result, and array.

24  {
25  $args = func_get_args();
26  $expectedResult = array_pop($args);
27  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ATAN2'),$args);
28  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
29  }
$result
Create styles array
The data for the language used.

◆ testCEILING()

MathTrigTest::testCEILING ( )

providerCEILING

Definition at line 39 of file MathTrigTest.php.

References $result, and array.

40  {
41  $args = func_get_args();
42  $expectedResult = array_pop($args);
43  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','CEILING'),$args);
44  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
45  }
$result
Create styles array
The data for the language used.

◆ testCOMBIN()

MathTrigTest::testCOMBIN ( )

providerCOMBIN

Definition at line 55 of file MathTrigTest.php.

References $result, and array.

56  {
57  $args = func_get_args();
58  $expectedResult = array_pop($args);
59  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','COMBIN'),$args);
60  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
61  }
$result
Create styles array
The data for the language used.

◆ testEVEN()

MathTrigTest::testEVEN ( )

providerEVEN

Definition at line 71 of file MathTrigTest.php.

References $result, and array.

72  {
73  $args = func_get_args();
74  $expectedResult = array_pop($args);
75  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','EVEN'),$args);
76  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
77  }
$result
Create styles array
The data for the language used.

◆ testFACT()

MathTrigTest::testFACT ( )

providerFACT

Definition at line 103 of file MathTrigTest.php.

References $result, and array.

104  {
105  $args = func_get_args();
106  $expectedResult = array_pop($args);
107  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','FACT'),$args);
108  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
109  }
$result
Create styles array
The data for the language used.

◆ testFACTDOUBLE()

MathTrigTest::testFACTDOUBLE ( )

providerFACTDOUBLE

Definition at line 119 of file MathTrigTest.php.

References $result, and array.

120  {
121  $args = func_get_args();
122  $expectedResult = array_pop($args);
123  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','FACTDOUBLE'),$args);
124  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
125  }
$result
Create styles array
The data for the language used.

◆ testFLOOR()

MathTrigTest::testFLOOR ( )

providerFLOOR

Definition at line 135 of file MathTrigTest.php.

References $result, and array.

136  {
137  $args = func_get_args();
138  $expectedResult = array_pop($args);
139  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','FLOOR'),$args);
140  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
141  }
$result
Create styles array
The data for the language used.

◆ testGCD()

MathTrigTest::testGCD ( )

providerGCD

Definition at line 151 of file MathTrigTest.php.

References $result, and array.

152  {
153  $args = func_get_args();
154  $expectedResult = array_pop($args);
155  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','GCD'),$args);
156  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
157  }
$result
Create styles array
The data for the language used.

◆ testINT()

MathTrigTest::testINT ( )

providerINT

Definition at line 183 of file MathTrigTest.php.

References $result, and array.

184  {
185  $args = func_get_args();
186  $expectedResult = array_pop($args);
187  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','INT'),$args);
188  $this->assertEquals($expectedResult, $result);
189  }
$result
Create styles array
The data for the language used.

◆ testLCM()

MathTrigTest::testLCM ( )

providerLCM

Definition at line 167 of file MathTrigTest.php.

References $result, and array.

168  {
169  $args = func_get_args();
170  $expectedResult = array_pop($args);
171  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','LCM'),$args);
172  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
173  }
$result
Create styles array
The data for the language used.

◆ testLOG()

MathTrigTest::testLOG ( )

providerLOG

Definition at line 231 of file MathTrigTest.php.

References $result, and array.

232  {
233  $args = func_get_args();
234  $expectedResult = array_pop($args);
235  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','LOG_BASE'),$args);
236  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
237  }
$result
Create styles array
The data for the language used.

◆ testMDETERM()

MathTrigTest::testMDETERM ( )

providerMDETERM

Definition at line 263 of file MathTrigTest.php.

References $result, and array.

264  {
265  $args = func_get_args();
266  $expectedResult = array_pop($args);
267  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MDETERM'),$args);
268  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
269  }
$result
Create styles array
The data for the language used.

◆ testMINVERSE()

MathTrigTest::testMINVERSE ( )

providerMINVERSE

Definition at line 279 of file MathTrigTest.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_MathTrig','MINVERSE'),$args);
284  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
285  }
$result
Create styles array
The data for the language used.

◆ testMMULT()

MathTrigTest::testMMULT ( )

providerMMULT

Definition at line 295 of file MathTrigTest.php.

References $result, and array.

296  {
297  $args = func_get_args();
298  $expectedResult = array_pop($args);
299  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MMULT'),$args);
300  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
301  }
$result
Create styles array
The data for the language used.

◆ testMOD()

MathTrigTest::testMOD ( )

providerMOD

Definition at line 247 of file MathTrigTest.php.

References $result, and array.

248  {
249  $args = func_get_args();
250  $expectedResult = array_pop($args);
251  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MOD'),$args);
252  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
253  }
$result
Create styles array
The data for the language used.

◆ testMROUND()

MathTrigTest::testMROUND ( )

providerMROUND

Definition at line 327 of file MathTrigTest.php.

References $result, array, PHPExcel_Calculation\RETURN_ARRAY_AS_ARRAY, PHPExcel_Calculation\RETURN_ARRAY_AS_VALUE, and PHPExcel_Calculation\setArrayReturnType().

328  {
329  $args = func_get_args();
330  $expectedResult = array_pop($args);
332  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MROUND'),$args);
334  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
335  }
$result
static setArrayReturnType($returnType)
Set the Array Return Type (Array or Value of first element in the array)
Create styles array
The data for the language used.
+ Here is the call graph for this function:

◆ testMULTINOMIAL()

MathTrigTest::testMULTINOMIAL ( )

providerMULTINOMIAL

Definition at line 311 of file MathTrigTest.php.

References $result, and array.

312  {
313  $args = func_get_args();
314  $expectedResult = array_pop($args);
315  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MULTINOMIAL'),$args);
316  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
317  }
$result
Create styles array
The data for the language used.

◆ testODD()

MathTrigTest::testODD ( )

providerODD

Definition at line 87 of file MathTrigTest.php.

References $result, and array.

88  {
89  $args = func_get_args();
90  $expectedResult = array_pop($args);
91  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ODD'),$args);
92  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
93  }
$result
Create styles array
The data for the language used.

◆ testPOWER()

MathTrigTest::testPOWER ( )

providerPOWER

Definition at line 215 of file MathTrigTest.php.

References $result, and array.

216  {
217  $args = func_get_args();
218  $expectedResult = array_pop($args);
219  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','POWER'),$args);
220  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
221  }
$result
Create styles array
The data for the language used.

◆ testPRODUCT()

MathTrigTest::testPRODUCT ( )

providerPRODUCT

Definition at line 345 of file MathTrigTest.php.

References $result, and array.

346  {
347  $args = func_get_args();
348  $expectedResult = array_pop($args);
349  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','PRODUCT'),$args);
350  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
351  }
$result
Create styles array
The data for the language used.

◆ testQUOTIENT()

MathTrigTest::testQUOTIENT ( )

providerQUOTIENT

Definition at line 361 of file MathTrigTest.php.

References $result, and array.

362  {
363  $args = func_get_args();
364  $expectedResult = array_pop($args);
365  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','QUOTIENT'),$args);
366  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
367  }
$result
Create styles array
The data for the language used.

◆ testROMAN()

MathTrigTest::testROMAN ( )

providerROMAN

Definition at line 457 of file MathTrigTest.php.

References $result, and array.

458  {
459  $args = func_get_args();
460  $expectedResult = array_pop($args);
461  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ROMAN'),$args);
462  $this->assertEquals($expectedResult, $result);
463  }
$result
Create styles array
The data for the language used.

◆ testROUNDDOWN()

MathTrigTest::testROUNDDOWN ( )

providerROUNDDOWN

Definition at line 393 of file MathTrigTest.php.

References $result, and array.

394  {
395  $args = func_get_args();
396  $expectedResult = array_pop($args);
397  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ROUNDDOWN'),$args);
398  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
399  }
$result
Create styles array
The data for the language used.

◆ testROUNDUP()

MathTrigTest::testROUNDUP ( )

providerROUNDUP

Definition at line 377 of file MathTrigTest.php.

References $result, and array.

378  {
379  $args = func_get_args();
380  $expectedResult = array_pop($args);
381  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ROUNDUP'),$args);
382  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
383  }
$result
Create styles array
The data for the language used.

◆ testSERIESSUM()

MathTrigTest::testSERIESSUM ( )

providerSERIESSUM

Definition at line 409 of file MathTrigTest.php.

References $result, and array.

410  {
411  $args = func_get_args();
412  $expectedResult = array_pop($args);
413  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SERIESSUM'),$args);
414  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
415  }
$result
Create styles array
The data for the language used.

◆ testSIGN()

MathTrigTest::testSIGN ( )

providerSIGN

Definition at line 199 of file MathTrigTest.php.

References $result, and array.

200  {
201  $args = func_get_args();
202  $expectedResult = array_pop($args);
203  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SIGN'),$args);
204  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
205  }
$result
Create styles array
The data for the language used.

◆ testSQRTPI()

MathTrigTest::testSQRTPI ( )

providerSQRTPI

Definition at line 473 of file MathTrigTest.php.

References $result, and array.

474  {
475  $args = func_get_args();
476  $expectedResult = array_pop($args);
477  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SQRTPI'),$args);
478  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
479  }
$result
Create styles array
The data for the language used.

◆ testSUMIF()

MathTrigTest::testSUMIF ( )

providerSUMIF

Definition at line 489 of file MathTrigTest.php.

References $result, and array.

490  {
491  $args = func_get_args();
492  $expectedResult = array_pop($args);
493  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig', 'SUMIF'), $args);
494  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
495  }
$result
Create styles array
The data for the language used.

◆ testSUMSQ()

MathTrigTest::testSUMSQ ( )

providerSUMSQ

Definition at line 425 of file MathTrigTest.php.

References $result, and array.

426  {
427  $args = func_get_args();
428  $expectedResult = array_pop($args);
429  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SUMSQ'),$args);
430  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
431  }
$result
Create styles array
The data for the language used.

◆ testTRUNC()

MathTrigTest::testTRUNC ( )

providerTRUNC

Definition at line 441 of file MathTrigTest.php.

References $result, and array.

442  {
443  $args = func_get_args();
444  $expectedResult = array_pop($args);
445  $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','TRUNC'),$args);
446  $this->assertEquals($expectedResult, $result, NULL, 1E-12);
447  }
$result
Create styles array
The data for the language used.

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