PHP Class Pinq\Tests\Integration\Traversable\IntersectTest

Inheritance: extends TraversableTest
Afficher le fichier Open project: timetoogo/pinq

Méthodes publiques

Méthode Description
testThatIntersectMaintainsReferences ( Pinq\ITraversable $traversable )
testThatIntersectUsesStrictEquality ( Pinq\ITraversable $traversable, array $data )
testThatIntersectWithEmptyReturnsEmpty ( Pinq\ITraversable $traversable, array $data )
testThatIntersectWithSelfReturnsUniqueValues ( Pinq\ITraversable $traversable, array $data )
testThatIntersectionWithDuplicateValuesPreservesTheOriginalKeys ( Pinq\ITraversable $traversable, array $data )

Méthodes protégées

Méthode Description
_testReturnsNewInstanceOfSameTypeWithSameScheme ( Pinq\ITraversable $traversable )

Method Details

_testReturnsNewInstanceOfSameTypeWithSameScheme() protected méthode

protected _testReturnsNewInstanceOfSameTypeWithSameScheme ( Pinq\ITraversable $traversable )
$traversable Pinq\ITraversable

testThatIntersectMaintainsReferences() public méthode

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

testThatIntersectUsesStrictEquality() public méthode

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

testThatIntersectWithEmptyReturnsEmpty() public méthode

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

testThatIntersectWithSelfReturnsUniqueValues() public méthode

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

testThatIntersectionWithDuplicateValuesPreservesTheOriginalKeys() public méthode

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