PHP Class Functional\Tests\ReduceTest

Inheritance: extends AbstractTestCase
Datei anzeigen Open project: lstrojny/functional-php

Public Methods

Method Description
functionalCallback ( $value, $key, $collection, $returnValue )
setUp ( )
testExceptionThrownInArrayCallbackWhileReduceLeft ( )
testExceptionThrownInArrayCallbackWhileReduceRight ( )
testExceptionThrownInIteratorCallbackWhileReduceLeft ( )
testExceptionThrownInIteratorCallbackWhileReduceRight ( )
testPassNoCollectionToReduceLeft ( )
testPassNoCollectionToReduceRight ( )
testPassNonCallableToReduceLeft ( )
testPassNonCallableToReduceRight ( )
testReducing ( )

Method Details

functionalCallback() public method

public functionalCallback ( $value, $key, $collection, $returnValue )

setUp() public method

public setUp ( )

testExceptionThrownInArrayCallbackWhileReduceLeft() public method

testExceptionThrownInArrayCallbackWhileReduceRight() public method

testExceptionThrownInIteratorCallbackWhileReduceLeft() public method

testExceptionThrownInIteratorCallbackWhileReduceRight() public method

testPassNoCollectionToReduceLeft() public method

testPassNoCollectionToReduceRight() public method

testPassNonCallableToReduceLeft() public method

testPassNonCallableToReduceRight() public method

testReducing() public method

public testReducing ( )