PHP Class Pinq\Tests\Integration\Traversable\IterationTest

Inheritance: extends TraversableTest
Datei anzeigen Open project: timetoogo/pinq

Public Methods

Method Description
testIteratePassedAllValuesAndKeysToFunction ( Pinq\ITraversable $traversable, array $data )
testIterateWillStopAfterReturningFalse ( Pinq\ITraversable $traversable, array $data )
testThatIdenticalNonIntegerOrStringMapToTheSameScalarKey ( Pinq\ITraversable $traversable, array $data )
testThatIndexReturnsCorrectValues ( Pinq\ITraversable $traversable, array $data )
testThatInterationPassesReferences ( Pinq\ITraversable $traversable )
testThatNonIntegerAndStringKeysAreReindexed ( Pinq\ITraversable $traversable, array $data )
testThatNonIntegerOrStringAreReindexedWhenConvertingToArrayOrIteratingButNotForIterateMethodOrTrueIterator ( Pinq\ITraversable $traversable, array $data )

Method Details

testIteratePassedAllValuesAndKeysToFunction() public method

public testIteratePassedAllValuesAndKeysToFunction ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testIterateWillStopAfterReturningFalse() public method

public testIterateWillStopAfterReturningFalse ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatIdenticalNonIntegerOrStringMapToTheSameScalarKey() public method

public testThatIdenticalNonIntegerOrStringMapToTheSameScalarKey ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatIndexReturnsCorrectValues() public method

public testThatIndexReturnsCorrectValues ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatInterationPassesReferences() public method

public testThatInterationPassesReferences ( Pinq\ITraversable $traversable )
$traversable Pinq\ITraversable

testThatNonIntegerAndStringKeysAreReindexed() public method

public testThatNonIntegerAndStringKeysAreReindexed ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatNonIntegerOrStringAreReindexedWhenConvertingToArrayOrIteratingButNotForIterateMethodOrTrueIterator() public method

public testThatNonIntegerOrStringAreReindexedWhenConvertingToArrayOrIteratingButNotForIterateMethodOrTrueIterator ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array