PHP Class Pinq\Tests\Integration\Traversable\DifferenceTest

Inheritance: extends TraversableTest
Show file Open project: timetoogo/pinq

Public Methods

Method Description
testThatDifferenceMaintainsReferences ( Pinq\ITraversable $traversable, array $data )
testThatDifferenceWithDuplicateKeysPreservesTheOriginalValues ( Pinq\ITraversable $traversable, array $data )
testThatDifferenceWithDuplicateValuesPreservesTheOriginalKeys ( Pinq\ITraversable $traversable, array $data )
testThatDifferenceWithEmptyReturnsSameAsTheOriginal ( Pinq\ITraversable $traversable, array $data )
testThatDifferenceWithSelfReturnsAnEmptyArray ( 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

testThatDifferenceMaintainsReferences() public method

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

testThatDifferenceWithDuplicateKeysPreservesTheOriginalValues() public method

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

testThatDifferenceWithDuplicateValuesPreservesTheOriginalKeys() public method

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

testThatDifferenceWithEmptyReturnsSameAsTheOriginal() public method

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

testThatDifferenceWithSelfReturnsAnEmptyArray() public method

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