PHP Class Pinq\Tests\Integration\Traversable\Aggregates\AnyTest

Show file Open project: timetoogo/pinq

Public Methods

Method Description
testThatAnyOperatesCorrectly ( Pinq\ITraversable $traversable, array $data )
testThatAnyReturnsFalseIfEmpty ( Pinq\ITraversable $traversable, array $data )
testThatAnyReturnsFalseWhenNoElementMatch ( Pinq\ITraversable $traversable, array $data )
testThatAnyReturnsTrueWhenSomeElementMatch ( Pinq\ITraversable $traversable, array $data )

Method Details

testThatAnyOperatesCorrectly() public method

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

testThatAnyReturnsFalseIfEmpty() public method

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

testThatAnyReturnsFalseWhenNoElementMatch() public method

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

testThatAnyReturnsTrueWhenSomeElementMatch() public method

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