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

Public Member Functions

 setUp ()
 
 testACCRINT ()
 providerACCRINT More...
 
 providerACCRINT ()
 
 testACCRINTM ()
 providerACCRINTM More...
 
 providerACCRINTM ()
 
 testAMORDEGRC ()
 providerAMORDEGRC More...
 
 providerAMORDEGRC ()
 
 testAMORLINC ()
 providerAMORLINC More...
 
 providerAMORLINC ()
 
 testCOUPDAYBS ()
 providerCOUPDAYBS More...
 
 providerCOUPDAYBS ()
 
 testCOUPDAYS ()
 providerCOUPDAYS More...
 
 providerCOUPDAYS ()
 
 testCOUPDAYSNC ()
 providerCOUPDAYSNC More...
 
 providerCOUPDAYSNC ()
 
 testCOUPNCD ()
 providerCOUPNCD More...
 
 providerCOUPNCD ()
 
 testCOUPNUM ()
 providerCOUPNUM More...
 
 providerCOUPNUM ()
 
 testCOUPPCD ()
 providerCOUPPCD More...
 
 providerCOUPPCD ()
 
 testCUMIPMT ()
 providerCUMIPMT More...
 
 providerCUMIPMT ()
 
 testCUMPRINC ()
 providerCUMPRINC More...
 
 providerCUMPRINC ()
 
 testDB ()
 providerDB More...
 
 providerDB ()
 
 testDDB ()
 providerDDB More...
 
 providerDDB ()
 
 testDISC ()
 providerDISC More...
 
 providerDISC ()
 
 testDOLLARDE ()
 providerDOLLARDE More...
 
 providerDOLLARDE ()
 
 testDOLLARFR ()
 providerDOLLARFR More...
 
 providerDOLLARFR ()
 
 testEFFECT ()
 providerEFFECT More...
 
 providerEFFECT ()
 
 testFV ()
 providerFV More...
 
 providerFV ()
 
 testFVSCHEDULE ()
 providerFVSCHEDULE More...
 
 providerFVSCHEDULE ()
 
 testINTRATE ()
 providerINTRATE More...
 
 providerINTRATE ()
 
 testIPMT ()
 providerIPMT More...
 
 providerIPMT ()
 
 testIRR ()
 providerIRR More...
 
 providerIRR ()
 
 testISPMT ()
 providerISPMT More...
 
 providerISPMT ()
 
 testMIRR ()
 providerMIRR More...
 
 providerMIRR ()
 
 testNOMINAL ()
 providerNOMINAL More...
 
 providerNOMINAL ()
 
 testNPER ()
 providerNPER More...
 
 providerNPER ()
 
 testNPV ()
 providerNPV More...
 
 providerNPV ()
 
 testPRICE ()
 providerPRICE More...
 
 providerPRICE ()
 
 testRATE ()
 providerRATE More...
 
 providerRATE ()
 
 testXIRR ()
 providerXIRR More...
 
 providerXIRR ()
 

Detailed Description

Definition at line 6 of file FinancialTest.php.

Member Function Documentation

◆ providerACCRINT()

FinancialTest::providerACCRINT ( )

Definition at line 31 of file FinancialTest.php.

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

◆ providerACCRINTM()

FinancialTest::providerACCRINTM ( )

Definition at line 47 of file FinancialTest.php.

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

◆ providerAMORDEGRC()

FinancialTest::providerAMORDEGRC ( )

Definition at line 63 of file FinancialTest.php.

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

◆ providerAMORLINC()

FinancialTest::providerAMORLINC ( )

Definition at line 79 of file FinancialTest.php.

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

◆ providerCOUPDAYBS()

FinancialTest::providerCOUPDAYBS ( )

Definition at line 95 of file FinancialTest.php.

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

◆ providerCOUPDAYS()

FinancialTest::providerCOUPDAYS ( )

Definition at line 111 of file FinancialTest.php.

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

◆ providerCOUPDAYSNC()

FinancialTest::providerCOUPDAYSNC ( )

Definition at line 127 of file FinancialTest.php.

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

◆ providerCOUPNCD()

FinancialTest::providerCOUPNCD ( )

Definition at line 143 of file FinancialTest.php.

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

◆ providerCOUPNUM()

FinancialTest::providerCOUPNUM ( )

Definition at line 159 of file FinancialTest.php.

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

◆ providerCOUPPCD()

FinancialTest::providerCOUPPCD ( )

Definition at line 175 of file FinancialTest.php.

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

◆ providerCUMIPMT()

FinancialTest::providerCUMIPMT ( )

Definition at line 191 of file FinancialTest.php.

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

◆ providerCUMPRINC()

FinancialTest::providerCUMPRINC ( )

Definition at line 207 of file FinancialTest.php.

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

◆ providerDB()

FinancialTest::providerDB ( )

Definition at line 223 of file FinancialTest.php.

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

◆ providerDDB()

FinancialTest::providerDDB ( )

Definition at line 239 of file FinancialTest.php.

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

◆ providerDISC()

FinancialTest::providerDISC ( )

Definition at line 255 of file FinancialTest.php.

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

◆ providerDOLLARDE()

FinancialTest::providerDOLLARDE ( )

Definition at line 271 of file FinancialTest.php.

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

◆ providerDOLLARFR()

FinancialTest::providerDOLLARFR ( )

Definition at line 287 of file FinancialTest.php.

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

◆ providerEFFECT()

FinancialTest::providerEFFECT ( )

Definition at line 303 of file FinancialTest.php.

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

◆ providerFV()

FinancialTest::providerFV ( )

Definition at line 319 of file FinancialTest.php.

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

◆ providerFVSCHEDULE()

FinancialTest::providerFVSCHEDULE ( )

Definition at line 335 of file FinancialTest.php.

336  {
337  return new testDataFileIterator('rawTestData/Calculation/Financial/FVSCHEDULE.data');
338  }

◆ providerINTRATE()

FinancialTest::providerINTRATE ( )

Definition at line 351 of file FinancialTest.php.

352  {
353  return new testDataFileIterator('rawTestData/Calculation/Financial/INTRATE.data');
354  }

◆ providerIPMT()

FinancialTest::providerIPMT ( )

Definition at line 367 of file FinancialTest.php.

368  {
369  return new testDataFileIterator('rawTestData/Calculation/Financial/IPMT.data');
370  }

◆ providerIRR()

FinancialTest::providerIRR ( )

Definition at line 383 of file FinancialTest.php.

384  {
385  return new testDataFileIterator('rawTestData/Calculation/Financial/IRR.data');
386  }

◆ providerISPMT()

FinancialTest::providerISPMT ( )

Definition at line 399 of file FinancialTest.php.

400  {
401  return new testDataFileIterator('rawTestData/Calculation/Financial/ISPMT.data');
402  }

◆ providerMIRR()

FinancialTest::providerMIRR ( )

Definition at line 415 of file FinancialTest.php.

416  {
417  return new testDataFileIterator('rawTestData/Calculation/Financial/MIRR.data');
418  }

◆ providerNOMINAL()

FinancialTest::providerNOMINAL ( )

Definition at line 431 of file FinancialTest.php.

432  {
433  return new testDataFileIterator('rawTestData/Calculation/Financial/NOMINAL.data');
434  }

◆ providerNPER()

FinancialTest::providerNPER ( )

Definition at line 447 of file FinancialTest.php.

448  {
449  return new testDataFileIterator('rawTestData/Calculation/Financial/NPER.data');
450  }

◆ providerNPV()

FinancialTest::providerNPV ( )

Definition at line 463 of file FinancialTest.php.

464  {
465  return new testDataFileIterator('rawTestData/Calculation/Financial/NPV.data');
466  }

◆ providerPRICE()

FinancialTest::providerPRICE ( )

Definition at line 479 of file FinancialTest.php.

480  {
481  return new testDataFileIterator('rawTestData/Calculation/Financial/PRICE.data');
482  }

◆ providerRATE()

FinancialTest::providerRATE ( )

Definition at line 495 of file FinancialTest.php.

496  {
497  return new testDataFileIterator('rawTestData/Calculation/Financial/RATE.data');
498  }

◆ providerXIRR()

FinancialTest::providerXIRR ( )

Definition at line 511 of file FinancialTest.php.

512  {
513  return new testDataFileIterator('rawTestData/Calculation/Financial/XIRR.data');
514  }

◆ setUp()

FinancialTest::setUp ( )

Definition at line 9 of file FinancialTest.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:

◆ testACCRINT()

FinancialTest::testACCRINT ( )

providerACCRINT

Definition at line 23 of file FinancialTest.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_Financial','ACCRINT'),$args);
28  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
29  }
$result
Create styles array
The data for the language used.

◆ testACCRINTM()

FinancialTest::testACCRINTM ( )

providerACCRINTM

Definition at line 39 of file FinancialTest.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_Financial','ACCRINTM'),$args);
44  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
45  }
$result
Create styles array
The data for the language used.

◆ testAMORDEGRC()

FinancialTest::testAMORDEGRC ( )

providerAMORDEGRC

Definition at line 55 of file FinancialTest.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_Financial','AMORDEGRC'),$args);
60  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
61  }
$result
Create styles array
The data for the language used.

◆ testAMORLINC()

FinancialTest::testAMORLINC ( )

providerAMORLINC

Definition at line 71 of file FinancialTest.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_Financial','AMORLINC'),$args);
76  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
77  }
$result
Create styles array
The data for the language used.

◆ testCOUPDAYBS()

FinancialTest::testCOUPDAYBS ( )

providerCOUPDAYBS

Definition at line 87 of file FinancialTest.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_Financial','COUPDAYBS'),$args);
92  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
93  }
$result
Create styles array
The data for the language used.

◆ testCOUPDAYS()

FinancialTest::testCOUPDAYS ( )

providerCOUPDAYS

Definition at line 103 of file FinancialTest.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_Financial','COUPDAYS'),$args);
108  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
109  }
$result
Create styles array
The data for the language used.

◆ testCOUPDAYSNC()

FinancialTest::testCOUPDAYSNC ( )

providerCOUPDAYSNC

Definition at line 119 of file FinancialTest.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_Financial','COUPDAYSNC'),$args);
124  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
125  }
$result
Create styles array
The data for the language used.

◆ testCOUPNCD()

FinancialTest::testCOUPNCD ( )

providerCOUPNCD

Definition at line 135 of file FinancialTest.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_Financial','COUPNCD'),$args);
140  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
141  }
$result
Create styles array
The data for the language used.

◆ testCOUPNUM()

FinancialTest::testCOUPNUM ( )

providerCOUPNUM

Definition at line 151 of file FinancialTest.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_Financial','COUPNUM'),$args);
156  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
157  }
$result
Create styles array
The data for the language used.

◆ testCOUPPCD()

FinancialTest::testCOUPPCD ( )

providerCOUPPCD

Definition at line 167 of file FinancialTest.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_Financial','COUPPCD'),$args);
172  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
173  }
$result
Create styles array
The data for the language used.

◆ testCUMIPMT()

FinancialTest::testCUMIPMT ( )

providerCUMIPMT

Definition at line 183 of file FinancialTest.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_Financial','CUMIPMT'),$args);
188  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
189  }
$result
Create styles array
The data for the language used.

◆ testCUMPRINC()

FinancialTest::testCUMPRINC ( )

providerCUMPRINC

Definition at line 199 of file FinancialTest.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_Financial','CUMPRINC'),$args);
204  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
205  }
$result
Create styles array
The data for the language used.

◆ testDB()

FinancialTest::testDB ( )

providerDB

Definition at line 215 of file FinancialTest.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_Financial','DB'),$args);
220  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
221  }
$result
Create styles array
The data for the language used.

◆ testDDB()

FinancialTest::testDDB ( )

providerDDB

Definition at line 231 of file FinancialTest.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_Financial','DDB'),$args);
236  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
237  }
$result
Create styles array
The data for the language used.

◆ testDISC()

FinancialTest::testDISC ( )

providerDISC

Definition at line 247 of file FinancialTest.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_Financial','DISC'),$args);
252  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
253  }
$result
Create styles array
The data for the language used.

◆ testDOLLARDE()

FinancialTest::testDOLLARDE ( )

providerDOLLARDE

Definition at line 263 of file FinancialTest.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_Financial','DOLLARDE'),$args);
268  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
269  }
$result
Create styles array
The data for the language used.

◆ testDOLLARFR()

FinancialTest::testDOLLARFR ( )

providerDOLLARFR

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

◆ testEFFECT()

FinancialTest::testEFFECT ( )

providerEFFECT

Definition at line 295 of file FinancialTest.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_Financial','EFFECT'),$args);
300  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
301  }
$result
Create styles array
The data for the language used.

◆ testFV()

FinancialTest::testFV ( )

providerFV

Definition at line 311 of file FinancialTest.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_Financial','FV'),$args);
316  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
317  }
$result
Create styles array
The data for the language used.

◆ testFVSCHEDULE()

FinancialTest::testFVSCHEDULE ( )

providerFVSCHEDULE

Definition at line 327 of file FinancialTest.php.

References $result, and array.

328  {
329  $args = func_get_args();
330  $expectedResult = array_pop($args);
331  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','FVSCHEDULE'),$args);
332  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
333  }
$result
Create styles array
The data for the language used.

◆ testINTRATE()

FinancialTest::testINTRATE ( )

providerINTRATE

Definition at line 343 of file FinancialTest.php.

References $result, and array.

344  {
345  $args = func_get_args();
346  $expectedResult = array_pop($args);
347  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','INTRATE'),$args);
348  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
349  }
$result
Create styles array
The data for the language used.

◆ testIPMT()

FinancialTest::testIPMT ( )

providerIPMT

Definition at line 359 of file FinancialTest.php.

References $result, and array.

360  {
361  $args = func_get_args();
362  $expectedResult = array_pop($args);
363  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','IPMT'),$args);
364  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
365  }
$result
Create styles array
The data for the language used.

◆ testIRR()

FinancialTest::testIRR ( )

providerIRR

Definition at line 375 of file FinancialTest.php.

References $result, and array.

376  {
377  $args = func_get_args();
378  $expectedResult = array_pop($args);
379  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','IRR'),$args);
380  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
381  }
$result
Create styles array
The data for the language used.

◆ testISPMT()

FinancialTest::testISPMT ( )

providerISPMT

Definition at line 391 of file FinancialTest.php.

References $result, and array.

392  {
393  $args = func_get_args();
394  $expectedResult = array_pop($args);
395  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','ISPMT'),$args);
396  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
397  }
$result
Create styles array
The data for the language used.

◆ testMIRR()

FinancialTest::testMIRR ( )

providerMIRR

Definition at line 407 of file FinancialTest.php.

References $result, and array.

408  {
409  $args = func_get_args();
410  $expectedResult = array_pop($args);
411  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','MIRR'),$args);
412  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
413  }
$result
Create styles array
The data for the language used.

◆ testNOMINAL()

FinancialTest::testNOMINAL ( )

providerNOMINAL

Definition at line 423 of file FinancialTest.php.

References $result, and array.

424  {
425  $args = func_get_args();
426  $expectedResult = array_pop($args);
427  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','NOMINAL'),$args);
428  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
429  }
$result
Create styles array
The data for the language used.

◆ testNPER()

FinancialTest::testNPER ( )

providerNPER

Definition at line 439 of file FinancialTest.php.

References $result, and array.

440  {
441  $args = func_get_args();
442  $expectedResult = array_pop($args);
443  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','NPER'),$args);
444  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
445  }
$result
Create styles array
The data for the language used.

◆ testNPV()

FinancialTest::testNPV ( )

providerNPV

Definition at line 455 of file FinancialTest.php.

References $result, and array.

456  {
457  $args = func_get_args();
458  $expectedResult = array_pop($args);
459  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','NPV'),$args);
460  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
461  }
$result
Create styles array
The data for the language used.

◆ testPRICE()

FinancialTest::testPRICE ( )

providerPRICE

Definition at line 471 of file FinancialTest.php.

References $result, and array.

472  {
473  $args = func_get_args();
474  $expectedResult = array_pop($args);
475  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','PRICE'),$args);
476  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
477  }
$result
Create styles array
The data for the language used.

◆ testRATE()

FinancialTest::testRATE ( )

providerRATE

Definition at line 487 of file FinancialTest.php.

References $result, and array.

488  {
489  $args = func_get_args();
490  $expectedResult = array_pop($args);
491  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','RATE'),$args);
492  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
493  }
$result
Create styles array
The data for the language used.

◆ testXIRR()

FinancialTest::testXIRR ( )

providerXIRR

Definition at line 503 of file FinancialTest.php.

References $result, and array.

504  {
505  $args = func_get_args();
506  $expectedResult = array_pop($args);
507  $result = call_user_func_array(array('PHPExcel_Calculation_Financial','XIRR'),$args);
508  $this->assertEquals($expectedResult, $result, NULL, 1E-8);
509  }
$result
Create styles array
The data for the language used.

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