PHP Class Pinq\Tests\Integration\Traversable\IntersectTest

Inheritance: extends TraversableTest
Mostrar archivo Open project: timetoogo/pinq

Public Methods

Method 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 )

Protected Methods

Method Description
_testReturnsNewInstanceOfSameTypeWithSameScheme ( Pinq\ITraversable $traversable )

Method Details

_testReturnsNewInstanceOfSameTypeWithSameScheme() protected method

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

testThatIntersectMaintainsReferences() public method

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

testThatIntersectUsesStrictEquality() public method

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

testThatIntersectWithEmptyReturnsEmpty() public method

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

testThatIntersectWithSelfReturnsUniqueValues() public method

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

testThatIntersectionWithDuplicateValuesPreservesTheOriginalKeys() public method

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