diff --git a/Config/reportLang.php b/Config/reportLang.php index 8a15095..449e4ad 100644 --- a/Config/reportLang.php +++ b/Config/reportLang.php @@ -55,6 +55,7 @@ return [ ':test_suits' => 'Test Suits', ':disclaimer' => 'Disclaimer', ':disclaimer_desc_1' => 'This test report doesn\'t provide any legal warrenty over completeness and correctness in case of damages of any kind.', + // report elements come below / the order is important and is the same as in the generated report. 'phpOMS\tests\Account\AccountManagerTest' => ['description' => 'Account/user manager to handle/access loaded accounts'], 'phpOMS\tests\Account\AccountManagerTest:testAttributes' => ['description' => 'The manager has the expected member variables'], @@ -62,7 +63,6 @@ return [ 'phpOMS\tests\Account\AccountManagerTest:testAddAccount' => ['description' => 'An account can be added to the manager'], 'phpOMS\tests\Account\AccountManagerTest:testRetrieveAccount' => ['description' => 'An account can be retrieved from the manager'], 'phpOMS\tests\Account\AccountManagerTest:testNoAccountDuplication' => ['description' => 'An account can only be added once to the account manager (no duplication)'], - 'phpOMS\tests\Account\AccountManagerTest:testNoAccountDuplication' => ['description' => 'An account can only be added once to the account manager (no duplication)'], 'phpOMS\tests\Account\AccountManagerTest:testRemoveAccount' => ['description' => 'An account can be removed from the account manager'], 'phpOMS\tests\Account\AccountManagerTest:testRemoveOnlyValidAccount' => ['description' => 'Only a valid account can be removed from the manager'], @@ -89,6 +89,140 @@ return [ 'phpOMS\tests\Account\GroupTest:testChangeStatus' => ['description' => 'The default status of the group can be changed to a different valid status'], 'phpOMS\tests\Account\GroupTest:testStatusException' => ['description' => 'A group can only have valid group status'], + 'phpOMS\tests\Algorithm\Clustering\KmeansTest' => ['description' => 'Clustering points/elements with the K-means algorithm'], + 'phpOMS\tests\Algorithm\Clustering\KmeansTest:testKmeans' => ['description' => 'The clustering of points and dynamic check of new points works as expected'], + + 'phpOMS\tests\Algorithm\Clustering\PointTest' => ['description' => 'Default point in a cluster'], + 'phpOMS\tests\Algorithm\Clustering\PointTest:testChangeCoordinates' => ['description' => 'Coordinates of a point can be changed'], + 'phpOMS\tests\Algorithm\Clustering\PointTest:testChangeGroup' => ['description' => 'The group/cluster of a point can be changed'], + + 'phpOMS\tests\Algorithm\CoinMatching\MinimumCoinProblemTest' => ['description' => 'Match a value by using the minimum quantity of available sub values (Minimum Coin Problem)'], + 'phpOMS\tests\Algorithm\CoinMatching\MinimumCoinProblemTest:testMinimumCoins' => ['description' => 'A value is matched with the minimum quantity of avialable coins.'], + + 'phpOMS\tests\Algorithm\JobScheduling\WeightedTest' => ['description' => 'Job scheduling based on values/profit'], + 'phpOMS\tests\Algorithm\JobScheduling\WeightedTest:testNoOverlappingScheduling' => ['description' => 'The optimal job combination is selected to maximize the value/profit without overlapping jobs'], + 'phpOMS\tests\Algorithm\JobScheduling\WeightedTest:testSmallList' => ['description' => 'A job list with only one job simply returns one job'], + + 'phpOMS\tests\Algorithm\JobScheduling\JobTest' => ['description' => 'Default job for the job scheduling'], + 'phpOMS\tests\Algorithm\JobScheduling\JobTest:testDefault' => ['description' => 'The job has the expected values after initialization'], + + 'phpOMS\tests\Algorithm\Knapsack\BoundedTest' => ['description' => 'A Knapsack implementation for discrete quantities, values and costs and bounded item quantities'], + 'phpOMS\tests\Algorithm\Knapsack\BoundedTest:testBackpacking' => ['description' => 'The optimal item selection in a backpack is calculated in order to optimize the value/profit while considering the available capacity/cost limit'], + + 'phpOMS\tests\Algorithm\Knapsack\ContinuousTest' => ['description' => 'A Knapsack implementation for continuous quantities, values and costs'], + 'phpOMS\tests\Algorithm\Knapsack\ContinuousTest:testBackpacking' => ['description' => 'The optimal item selection in a backpack is calculated in order to optimize the value/profit while considering the available capacity/cost limit [discrete quantities]'], + 'phpOMS\tests\Algorithm\Knapsack\ContinuousTest:testBackpackingAlternative' => ['description' => 'The optimal item selection in a backpack is calculated in order to optimize the value/profit while considering the available capacity/cost limit [continuous quantities]'], + + 'phpOMS\tests\Algorithm\Knapsack\BackpackTest' => ['description' => 'The default backpack or basket which holds all items for the Knapsack algorithm'], + 'phpOMS\tests\Algorithm\Knapsack\BackpackTest:testDefault' => ['description' => 'The backpack has the expected values after initialization'], + 'phpOMS\tests\Algorithm\Knapsack\BackpackTest:testAddItems' => ['description' => 'Items can be added to the backpack and automatically change the value and cost the backpack contains'], + + 'phpOMS\tests\Algorithm\Knapsack\ItemTest' => ['description' => 'The default item to be added to the backpack or basket'], + 'phpOMS\tests\Algorithm\Knapsack\ItemTest:testDefault' => ['description' => 'The item has the expected values after initialization'], + + 'phpOMS\tests\Algorithm\PathFinding\AStarTest' => ['description' => 'AStar path finding'], + 'phpOMS\tests\Algorithm\PathFinding\AStarTest:testPathFindingDiagonal' => ['description' => 'The correct path is found for diagonal movement'], + 'phpOMS\tests\Algorithm\PathFinding\AStarTest:testPathFindingStraight' => ['description' => 'The correct path is found for straight movement'], + 'phpOMS\tests\Algorithm\PathFinding\AStarTest:testPathFindingDiagonalOneObstacle' => ['description' => 'The correct path is found for diagonal movement [one obstacle]'], + 'phpOMS\tests\Algorithm\PathFinding\AStarTest:testPathFindingDiagonalNoObstacle' => ['description' => 'The correct path is found for diagonal movement [no obstacle]'], + + 'phpOMS\tests\Algorithm\PathFinding\JumpPointSearchTest' => ['description' => 'JumpPoint path finding'], + 'phpOMS\tests\Algorithm\PathFinding\JumpPointSearchTest:testPathFindingDiagonal' => ['description' => 'The correct path is found for diagonal movement'], + 'phpOMS\tests\Algorithm\PathFinding\JumpPointSearchTest:testPathFindingStraight' => ['description' => 'The correct path is found for straight movement'], + 'phpOMS\tests\Algorithm\PathFinding\JumpPointSearchTest:testPathFindingDiagonalOneObstacle' => ['description' => 'The correct path is found for diagonal movement [one obstacle]'], + 'phpOMS\tests\Algorithm\PathFinding\JumpPointSearchTest:testPathFindingDiagonalNoObstacle' => ['description' => 'The correct path is found for diagonal movement [no obstacle]'], + + 'phpOMS\tests\Algorithm\Sort\BitonicSortTest' => ['description' => 'Bitonic sort'], + 'phpOMS\tests\Algorithm\Sort\BitonicSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\BitonicSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\BitonicSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\BubbleSortTest' => ['description' => 'Bubble sort'], + 'phpOMS\tests\Algorithm\Sort\BubbleSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\BubbleSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\BubbleSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\BucketSortTest' => ['description' => 'Bucket sort'], + 'phpOMS\tests\Algorithm\Sort\BucketSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\BucketSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\BucketSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + 'phpOMS\tests\Algorithm\Sort\BucketSortTest:testNoBuckets' => ['description' => 'If no buckets are specified the elements cannot be sorted and an empty result is returned'], + + 'phpOMS\tests\Algorithm\Sort\CocktailShakerSortTest' => ['description' => 'CocktailShaker sort'], + 'phpOMS\tests\Algorithm\Sort\CocktailShakerSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\CocktailShakerSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\CocktailShakerSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\CombSortTest' => ['description' => 'Comb sort'], + 'phpOMS\tests\Algorithm\Sort\CombSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\CombSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\CombSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\CycleSortTest' => ['description' => 'Cycle sort'], + 'phpOMS\tests\Algorithm\Sort\CycleSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\CycleSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\CycleSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\GnomeSortTest' => ['description' => 'Gnome sort'], + 'phpOMS\tests\Algorithm\Sort\GnomeSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\GnomeSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\GnomeSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\HeapSortTest' => ['description' => 'Heap sort'], + 'phpOMS\tests\Algorithm\Sort\HeapSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\HeapSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\HeapSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\InsertionSortTest' => ['description' => 'Insertion sort'], + 'phpOMS\tests\Algorithm\Sort\InsertionSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\InsertionSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\InsertionSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\IntroSortTest' => ['description' => 'Intro sort'], + 'phpOMS\tests\Algorithm\Sort\IntroSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\IntroSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\IntroSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\MergeSortTest' => ['description' => 'Merge sort'], + 'phpOMS\tests\Algorithm\Sort\MergeSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\MergeSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\MergeSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\OddEvenSortTest' => ['description' => 'OddEven sort'], + 'phpOMS\tests\Algorithm\Sort\OddEvenSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\OddEvenSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\OddEvenSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\PancakeSortTest' => ['description' => 'Pancake sort'], + 'phpOMS\tests\Algorithm\Sort\PancakeSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\PancakeSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\PancakeSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\QuickSortTest' => ['description' => 'Quick sort'], + 'phpOMS\tests\Algorithm\Sort\QuickSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\QuickSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\QuickSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\SelectionSortTest' => ['description' => 'Selection sort'], + 'phpOMS\tests\Algorithm\Sort\SelectionSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\SelectionSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\SelectionSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\ShellSortTest' => ['description' => 'Shell sort'], + 'phpOMS\tests\Algorithm\Sort\ShellSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\ShellSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\ShellSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\StoogeSortTest' => ['description' => 'Stooge sort'], + 'phpOMS\tests\Algorithm\Sort\StoogeSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\StoogeSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\StoogeSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + + 'phpOMS\tests\Algorithm\Sort\TimSortTest' => ['description' => 'Tim sort'], + 'phpOMS\tests\Algorithm\Sort\TimSortTest:testSmallList' => ['description' => 'A list with one element returns the list with the element itself'], + 'phpOMS\tests\Algorithm\Sort\TimSortTest:testSortASC' => ['description' => 'A list ot elements can be sorted in ASC order'], + 'phpOMS\tests\Algorithm\Sort\TimSortTest:testSortDESC' => ['description' => 'A list ot elements can be sorted in DESC order'], + 'phpOMS\tests\Asset\AssetManagerTest' => ['description' => 'Asset manager to handle/access assets'], 'phpOMS\tests\Asset\AssetManagerTest:testAttributes' => ['description' => 'The manager has the expected member variables'], 'phpOMS\tests\Asset\AssetManagerTest:testDefault' => ['description' => 'The manager has the expected default values after initialization'], @@ -101,42 +235,64 @@ return [ 'phpOMS\tests\Auth\AuthTest' => ['description' => 'Asset manager to handle/access assets'], 'phpOMS\tests\Auth\AuthTest:testAuthWithEmptyHttpSession' => ['description' => 'The default http session doesn\'t authenticate an account'], - 'phpOMS\Business\Finance\DepreciationTest' => ['description' => 'Depreciation calculations'], - 'phpOMS\Business\Finance\DepreciationTest:testStraightLine' => ['description' => 'The straight line depreciation and reverse value calculations are correct'], - 'phpOMS\Business\Finance\DepreciationTest:testArithmeticDegressivDepreciation' => ['description' => 'The arithmetic degressiv depreciation and reverse value calculations are correct'], - 'phpOMS\Business\Finance\DepreciationTest:testArithmeticProgressivDepreciation' => ['description' => 'The arithmetic progressiv depreciation and reverse value calculations are correct'], - 'phpOMS\Business\Finance\DepreciationTest:testGeometricProgressivDepreciation' => ['description' => 'The geometric progressiv depreciation and reverse value calculations are correct'], - 'phpOMS\Business\Finance\DepreciationTest:testGeometricDegressivDepreciation' => ['description' => 'The geometric degressiv depreciation and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\DepreciationTest' => ['description' => 'Depreciation calculations'], + 'phpOMS\tests\Business\Finance\DepreciationTest:testStraightLine' => ['description' => 'The straight line depreciation and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\DepreciationTest:testArithmeticDegressivDepreciation' => ['description' => 'The arithmetic degressiv depreciation and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\DepreciationTest:testArithmeticProgressivDepreciation' => ['description' => 'The arithmetic progressiv depreciation and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\DepreciationTest:testGeometricProgressivDepreciation' => ['description' => 'The geometric progressiv depreciation and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\DepreciationTest:testGeometricDegressivDepreciation' => ['description' => 'The geometric degressiv depreciation and reverse value calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest' => ['description' => 'Finance formulas'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testAnnualPercentageYield' => ['description' => 'The annual percentage yield (APY) and reverse value calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testFutureValueOfAnnuity' => ['description' => 'The future value of annuity (FVA) and reverse value calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testFutureValueOfAnnuityContinuousCompounding' => ['description' => 'The future value of annuity continuous compounding (FVACC) and reverse value calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testAnnuityPaymentPV' => ['description' => 'The annuity payment from the present value (PV) and reverse value calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testAnnuityPaymentFV' => ['description' => 'The annuity payment from the future value (FV) and reverse value calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testAnnutiyPaymentFactorPV' => ['description' => 'The annuity payment from the present value (PV) and reverse value calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testPresentValueOfAnnuity' => ['description' => 'The present value of the annuity is correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testPresentValueAnnuityFactor' => ['description' => 'The present value annuity factor of the annuity is correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testPresentValueOfAnnuityDue' => ['description' => 'The due present value the annuity is correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testFutureValueOfAnnuityDue' => ['description' => 'The due future value the annuity is correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testRelativeMarketShare' => ['description' => 'The relative market share calculations by shares and ales are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testAssetRatios' => ['description' => 'The asset ratio calculations are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testBalanceRatios' => ['description' => 'Balance ratio calculations for DII, Receivables/Turnover, and more are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testDeptRatios' => ['description' => 'Dept ratios for dept coverage, dept to equity and dept to income are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testRatios' => ['description' => 'Not Implemented!!!'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testCompound' => ['description' => 'Compound calculations for interest, principal and periods are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testContinuousCompounding' => ['description' => 'Continuous compound calculations for interest, principal and periods are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testSimpleInterest' => ['description' => 'Calculations for interest, principal and periods are correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testDiscountedPaybackPeriod' => ['description' => 'The descounted payback period is correct'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testDoublingTime' => ['description' => 'Test the correct calculation of the growth rate in order to double and vice versa'], - 'phpOMS\Business\Finance\FinanceFormulasTest:testDoublingTimeContinuousCompounding' => ['description' => 'Test the correct calculation of the growth rate in order to double and vice versa with continuous compounding'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest' => ['description' => 'Finance formulas'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testAnnualPercentageYield' => ['description' => 'The annual percentage yield (APY) and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testFutureValueOfAnnuity' => ['description' => 'The future value of annuity (FVA) and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testFutureValueOfAnnuityContinuousCompounding' => ['description' => 'The future value of annuity continuous compounding (FVACC) and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testAnnuityPaymentPV' => ['description' => 'The annuity payment from the present value (PV) and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testAnnuityPaymentFV' => ['description' => 'The annuity payment from the future value (FV) and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testAnnutiyPaymentFactorPV' => ['description' => 'The annuity payment from the present value (PV) and reverse value calculations are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testPresentValueOfAnnuity' => ['description' => 'The present value of the annuity is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testPresentValueAnnuityFactor' => ['description' => 'The present value annuity factor of the annuity is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testPresentValueOfAnnuityDue' => ['description' => 'The due present value the annuity is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testFutureValueOfAnnuityDue' => ['description' => 'The due future value the annuity is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testRelativeMarketShare' => ['description' => 'The relative market share calculations by shares and ales are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testAssetRatios' => ['description' => 'The asset ratio calculations are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testBalanceRatios' => ['description' => 'Balance ratio calculations for DII, Receivables/Turnover, and more are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testDeptRatios' => ['description' => 'Dept ratios for dept coverage, dept to equity and dept to income are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testReturnOnBalancePositions' => ['description' => 'Return on balance statement positions are correct (e.g. return on assets, on equity)'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testBalancePLRatios' => ['description' => 'Balance / P&L ratios are correct (e.g. inventory turnover, net profit margin)'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testRatios' => ['description' => 'Not Implemented!!!'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testCompound' => ['description' => 'Compound calculations for interest, principal and periods are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testContinuousCompounding' => ['description' => 'Continuous compound calculations for interest, principal and periods are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testSimpleInterest' => ['description' => 'Calculations for interest, principal and periods are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testDiscountedPaybackPeriod' => ['description' => 'The descounted payback period is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testDoublingTime' => ['description' => 'Test the correct calculation of the growth rate in order to double and vice versa'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testDoublingTimeContinuousCompounding' => ['description' => 'Test the correct calculation of the growth rate in order to double and vice versa with continuous compounding'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testEquivalentAnnualAnnuity' => ['description' => 'Calculations for equivalent annual annuity are correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testFreeCashFlowToEquity' => ['description' => 'The free cash flow to equity calculation is correct (how much cash is available after expenses and dept payments)'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testFreeCashFlowToFirm' => ['description' => 'The free cash flow to firm calculation is correct (how much cash is available after expenses)'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testFutureValue' => ['description' => 'The future value calculation is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testFutureValueContinuousCompounding' => ['description' => 'The future value calculation including continuous compounding is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testValueFactor' => ['description' => 'The future value factor calculation is correct'], + 'phpOMS\tests\Business\Finance\FinanceFormulasTest:testGeometricMeanReturn' => ['description' => 'The calculation of the geometric mean of multiple return rates is correct'], // todo: implement remaining + // todo: implement stockbond + + 'phpOMS\tests\Business\Finance\LoanTest' => ['description' => 'Loan formulas'], + 'phpOMS\tests\Business\Finance\LoanTest:testLoanToDepositRatio' => ['description' => 'The loan to deposit ratio is correct'], + 'phpOMS\tests\Business\Finance\LoanTest:testLoanToValueRatio' => ['description' => 'The loan to value ratio is correct'], + 'phpOMS\tests\Business\Finance\LoanTest:testPaymentsOnBalloonLoan' => ['description' => 'The balloon loan payments are correct for a given balloon'], + 'phpOMS\tests\Business\Finance\LoanTest:testBalloonBalanceOfLoan' => ['description' => 'The balloon loan residual value (balloon) is correct for given payments'], + 'phpOMS\tests\Business\Finance\LoanTest:testLoanPayment' => ['description' => 'The loan payments are correct for a given interest rate and period [continuous compounding]'], + 'phpOMS\tests\Business\Finance\LoanTest:testRemainingBalanceLoan' => ['description' => 'The residual value is correct for a given payment amount, interest rate and period [continuous compounding]'], + + 'phpOMS\tests\Business\Finance\LorenzkurveTest' => ['description' => 'Lorenz kurve'], + 'phpOMS\tests\Business\Finance\LorenzkurveTest:testGiniCoefficient' => ['description' => 'The gini coefficient calculation is correct'], + 'phpOMS\tests\Business\Marketing\MetricsTest' => ['description' => 'General marketing metrics'], 'phpOMS\tests\Business\Marketing\MetricsTest:testCustomerRetention' => ['description' => 'Test the correctnes of the customer retention calculation'], 'phpOMS\tests\Business\Marketing\NetPromoterScoreTest' => ['description' => 'Net promoter'], - 'phpOMS\tests\Business\Marketing\NetPromoterScoreTest:testDefault' => ['description' => 'The default net promoter score is 0'], + 'phpOMS\tests\Business\Marketing\NetPromoterScoreTest:testDefault' => ['description' => 'The net promoter has the expected default values after initialization'], 'phpOMS\tests\Business\Marketing\NetPromoterScoreTest:testScoreDetractorPassivePromotor' => ['description' => 'The net promotor score, detractors, passives and promotors are correct'], 'phpOMS\tests\Business\Programming\MetricsTest' => ['description' => 'General programming metrics'], @@ -147,6 +303,34 @@ return [ 'phpOMS\tests\Business\Sales\MarketShareEstimationTest:testZipfRank' => ['description' => 'The rank calculated with Zipf is correct'], 'phpOMS\tests\Business\Sales\MarketShareEstimationTest:testZipfShare' => ['description' => 'The market share by rank calculated with Zipf is correct'], + 'phpOMS\tests\Config\OptionsTraitTest' => ['description' => 'Helper for managing otpions'], + 'phpOMS\tests\Config\OptionsTraitTest:testOptionTraitMembers' => ['description' => 'The option helper has the expected attributes'], + 'phpOMS\tests\Config\OptionsTraitTest:testDefault' => ['description' => 'The option helper has the expected default values after initialization'], + 'phpOMS\tests\Config\OptionsTraitTest:testAdd' => ['description' => 'Options can be added to the helper'], + 'phpOMS\tests\Config\OptionsTraitTest:testAddMultiple' => ['description' => 'Multiple options can be added to the helper in one go'], + 'phpOMS\tests\Config\OptionsTraitTest:testOverwrite' => ['description' => 'Options can be overwritten/changed'], + + 'phpOMS\tests\DataStorage\Cache\CachePoolTest' => ['description' => 'Pool for caches'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testDefault' => ['description' => 'The pool has the expected default values after initialization'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testAdd' => ['description' => 'New cache connections can be added to the pool'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testOverwrite' => ['description' => 'Cache connections cannot be overwritten with a different cache connection'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testGet' => ['description' => 'Cache connections can be accessed with an identifier'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testGetDefault' => ['description' => 'By default a null cache is returned if no cache connection exists for the identifier'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testCreate' => ['description' => 'Cache connections can created by the pool and automatically get added but not overwritten'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testRemove' => ['description' => 'Cache connections can be removed from the pool'], + 'phpOMS\tests\DataStorage\Cache\CachePoolTest:testRemoveInvalid' => ['description' => 'Removing a cache with an invalid identifier will result in no actions'], + + 'phpOMS\tests\DataStorage\Cache\Connection\ConnectionFactoryTest' => ['description' => 'Factory for generating cache connections'], + 'phpOMS\tests\DataStorage\Cache\Connection\ConnectionFactoryTest:testCreateFileCache' => ['description' => 'The file cache can be created'], + 'phpOMS\tests\DataStorage\Cache\Connection\ConnectionFactoryTest:testCreateMemCached' => ['description' => 'The memcached cache can be created'], + 'phpOMS\tests\DataStorage\Cache\Connection\ConnectionFactoryTest:testCreateRedisCache' => ['description' => 'The redis cache can be created'], + 'phpOMS\tests\DataStorage\Cache\Connection\ConnectionFactoryTest:testInvalidCacheType' => ['description' => 'An invalid cache type results in an exception'], + + 'phpOMS\tests\DataStorage\Cache\Connection\FileCacheTest' => ['description' => 'File cache connection'], + 'phpOMS\tests\DataStorage\Cache\Connection\FileCacheTest:testDefault' => ['description' => 'The file cache connection has the expected default values after initialization'], + 'phpOMS\tests\DataStorage\Cache\Connection\FileCacheTest:testConnect' => ['description' => 'The connection to a dedicated cache directory can be established (none-exising directories get created)'], + // todo: implement remaining, requires splitting up test case GetSet!!! + 'phpOMS\tests\Localization\MoneyTest' => ['description' => 'Money datatype for internal representation of money'], 'phpOMS\tests\Localization\MoneyTest:testDefaultMemberVariables' => ['description' => 'The datatype has the expected member variables and default values'], 'phpOMS\tests\Localization\MoneyTest:testMoneyDefaultStringRepresentation' => ['description' => 'The datatype returns the correct default string representation (#,###.##)'], @@ -165,8 +349,4 @@ return [ 'phpOMS\tests\System\SystemUtilsTest:testRAM' => ['description' => 'Test if it is possible to get information about the available RAM and usage (on Windows)'], 'phpOMS\tests\System\SystemUtilsTest:testCPUUsage' => ['description' => 'Test if it is possible to get information about the CPU usage'], - 'phpOMS\tests\Math\Matrix\SingularValueDecompositionTest' => ['description' => 'Singular Value Decomposition'], - 'phpOMS\tests\Math\Matrix\SingularValueDecompositionTest:testRankCalculation' => ['description' => 'Test the correct rank calculation'], - 'phpOMS\tests\Math\Matrix\SingularValueDecompositionTest:testSUVCalculation' => ['description' => 'Test the correct calculation of U, S and V'], - 'phpOMS\tests\Math\Matrix\SingularValueDecompositionTest:testComposition' => ['description' => 'Test A = S * U * V\''], ];