repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Summary/ArePermutationsTest.php
tests/Summary/ArePermutationsTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Summary; use IterTools\Summary; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ArePermutationsTest extends \PHPUnit\Framework\TestCase { /** ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Summary/SameCountTest.php
tests/Summary/SameCountTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Summary; use IterTools\Summary; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class SameCountTest extends \PHPUnit\Framework\TestCase { /** * @ret...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Summary/IsReversedTest.php
tests/Summary/IsReversedTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Summary; use IterTools\Summary; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class IsReversedTest extends \PHPUnit\Framework\TestCase { /** * @te...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Summary/ExactlyNTest.php
tests/Summary/ExactlyNTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Summary; use IterTools\Infinite; use IterTools\Summary; use IterTools\Tests\Fixture; class ExactlyNTest extends \PHPUnit\Framework\TestCase { use \IterTools\Tests\Fixture\DataProvider; /** * @dataProvider dataProviderForEmptyIterable * @par...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Summary/IsPartitionedTest.php
tests/Summary/IsPartitionedTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Summary; use IterTools\Summary; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class IsPartitionedTest extends \PHPUnit\Framework\TestCase { /** * ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Summary/ArePermutationsCoerciveTest.php
tests/Summary/ArePermutationsCoerciveTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Summary; use IterTools\Summary; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ArePermutationsCoerciveTest extends \PHPUnit\Framework\TestCase { /...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Transform/ToIteratorTest.php
tests/Transform/ToIteratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Transform; use IterTools\Tests\Fixture; use IterTools\Transform; class ToIteratorTest extends \PHPUnit\Framework\TestCase { /** * @test makeIterator array to iterator */ public function testArray(): void { // Given $array...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Transform/ToAssociativeArrayTest.php
tests/Transform/ToAssociativeArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Transform; use IterTools\Tests\Fixture; use IterTools\Transform; class ToAssociativeArrayTest extends \PHPUnit\Framework\TestCase { /** * @test example usage */ public function testExampleUsage(): void { // Given $message...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Transform/ToArrayTest.php
tests/Transform/ToArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Transform; use IterTools\Tests\Fixture; use IterTools\Transform; class ToArrayTest extends \PHPUnit\Framework\TestCase { /** * @test toArray example usage */ public function toArrayExampleUsage(): void { // Given $data = ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Transform/TeeTest.php
tests/Transform/TeeTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Transform; use IterTools\Tests\Fixture\IteratorAggregateFixture; use IterTools\Transform; class TeeTest extends \PHPUnit\Framework\TestCase { /** * @test tee example usage */ public function testTeeExampleUsageArrayDestructuring(): void ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Common/IsIterableTest.php
tests/Common/IsIterableTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi; use IterTools\Multi; use IterTools\Tests\Fixture; class IsIterableTest extends \PHPUnit\Framework\TestCase { use Fixture\DataProvider; /** * @test loop tools is_iterable * @dataProvider dataProviderForIterableLoopTools * @dataPr...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Infinite/CountTest.php
tests/Infinite/CountTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Infinite; use IterTools\Infinite; class CountTest extends \PHPUnit\Framework\TestCase { /** * @test count defaults */ public function testCountDefaults(): void { // Given $result = []; $expected = [1, 2, 3, 4, 5, ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Infinite/CycleTest.php
tests/Infinite/CycleTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Infinite; use IterTools\Infinite; use IterTools\Tests\Fixture; class CycleTest extends \PHPUnit\Framework\TestCase { /** * @test cycle array */ public function testCycleArray(): void { // Given $array = [1, 2, 3, 4, 5]...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Infinite/RepeatTest.php
tests/Infinite/RepeatTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Infinite; use IterTools\Infinite; class RepeatTest extends \PHPUnit\Framework\TestCase { /** * @test repeat integer * @dataProvider dataProviderForInteger * @param int $integer * @param int[] $expected */ ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToValueTest.php
tests/Reduce/ToValueTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToValueTest extends \PHPUnit\Framework\TestCase { /** * @test ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToNthTest.php
tests/Reduce/ToNthTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\CountableIteratorAggregateFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToNthTest ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToProductTest.php
tests/Reduce/ToProductTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToProductTest extends \PHPUnit\Framework\TestCase { protected const R...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToMinMaxTest.php
tests/Reduce/ToMinMaxTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToMinMaxTest extends \PHPUnit\Framework\TestCase { protected const RO...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToCountTest.php
tests/Reduce/ToCountTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\CountableIteratorAggregateFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToCountTes...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToMaxTest.php
tests/Reduce/ToMaxTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToMaxTest extends \PHPUnit\Framework\TestCase { /** * @test toMa...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToFirstAndLastTest.php
tests/Reduce/ToFirstAndLastTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\DataProvider; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToFirstAndLastTest extends \PHP...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToRangeTest.php
tests/Reduce/ToRangeTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToRangeTest extends \PHPUnit\Framework\TestCase { protected const ROU...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToStringTest.php
tests/Reduce/ToStringTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToStringTest extends \PHPUnit\Framework\TestCase { /** * @test ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToLastTest.php
tests/Reduce/ToLastTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\DataProvider; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToLastTest extends \PHPUnit\Fra...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToSumTest.php
tests/Reduce/ToSumTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToSumTest extends \PHPUnit\Framework\TestCase { protected const ROUND...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToAverageTest.php
tests/Reduce/ToAverageTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToAverageTest extends \PHPUnit\Framework\TestCase { protected const R...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToFirstTest.php
tests/Reduce/ToFirstTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\DataProvider; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToFirstTest extends \PHPUnit\Fr...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToMinTest.php
tests/Reduce/ToMinTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToMinTest extends \PHPUnit\Framework\TestCase { /** * @test toMi...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Reduce/ToRandomValueTest.php
tests/Reduce/ToRandomValueTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Reduce; use IterTools\Reduce; use IterTools\Tests\Fixture\DataProvider; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ToRandomValueTest extends \PHPUnit\Framework\TestCase { use DataProvider; ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/File/ReadCsvTest.php
tests/File/ReadCsvTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\File; use IterTools\File; use IterTools\Tests\Fixture\FileFixture; use org\bovigo\vfs\vfsStream; use org\bovigo\vfs\vfsStreamDirectory; class ReadCsvTest extends \PHPUnit\Framework\TestCase { private vfsStreamDirectory $root; protected function setUp...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/File/ReadLinesTest.php
tests/File/ReadLinesTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\File; use IterTools\File; use IterTools\Tests\Fixture\FileFixture; use org\bovigo\vfs\vfsStream; use org\bovigo\vfs\vfsStreamDirectory; class ReadLinesTest extends \PHPUnit\Framework\TestCase { private vfsStreamDirectory $root; protected function set...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/SingleTest.php
tests/Stream/SingleTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Single; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class SingleTest extends \PHPUnit\Framework\TestCase { ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/SortTest.php
tests/Stream/SortTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class SortTest extends \PHPUnit\Framework\TestCase { /** * @param arra...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/TransformationTest.php
tests/Stream/TransformationTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Multi; use IterTools\Stream; class TransformationTest extends \PHPUnit\Framework\TestCase { /** * @test toArray * @param array $input * @param callable $summaryStreamFactoryFunc * @param array $expected ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/FileSourceTest.php
tests/Stream/FileSourceTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\FileFixture; use org\bovigo\vfs\vfsStream; use org\bovigo\vfs\vfsStreamDirectory; class FileSourceTest extends \PHPUnit\Framework\TestCase { private vfsStreamDirectory $root; protected functio...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/PeekPrintTest.php
tests/Stream/PeekPrintTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class PeekPrintTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider dataProviderForArray * @param array $...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/SourceTest.php
tests/Stream/SourceTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Random; use IterTools\Stream; use IterTools\Tests\Fixture; class SourceTest extends \PHPUnit\Framework\TestCase { /** * @test count of empty stream */ public function testStreamOfEmptyCount(): void { // Give...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/MultiTest.php
tests/Stream/MultiTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class MultiTest extends \PHPUnit\Framework\TestCase { /** * @param arr...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/SummaryTest.php
tests/Stream/SummaryTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class SummaryTest extends \PHPUnit\Framework\TestCase { /** * @param a...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/InfiniteTest.php
tests/Stream/InfiniteTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class InfiniteTest extends \PHPUnit\Framework\TestCase { /** * @param ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/ReduceTest.php
tests/Stream/ReduceTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\DataProvider; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class ReduceTest extends \PHPUnit\Fra...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/PeekStreamTest.php
tests/Stream/PeekStreamTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class PeekStreamTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider dataProviderForArray * @param array ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/FluentTest.php
tests/Stream/FluentTest.php
<?php namespace IterTools\Tests\Stream; use IterTools\Stream; class FluentTest extends \PHPUnit\Framework\TestCase { /** * @test */ public function testOfFluent() { // Given $input = [1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10]; // And $expected = [[4, 'four'], [20, 'twen...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/MathTest.php
tests/Stream/MathTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class MathTest extends \PHPUnit\Framework\TestCase { /** * @param arra...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/PeekTest.php
tests/Stream/PeekTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class PeekTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider dataProviderForArray * @param array $input...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/PeekPrintRTest.php
tests/Stream/PeekPrintRTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class PeekPrintRTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider dataProviderForEmptyArray * @param a...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/PrintTest.php
tests/Stream/PrintTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class PrintTest extends \PHPUnit\Framework\TestCas...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/SetTest.php
tests/Stream/SetTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class SetTest extends \PHPUnit\Framework\TestCase { /** * @param array...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/ExampleUsageTest.php
tests/Stream/ExampleUsageTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; class ExampleUsageTest extends \PHPUnit\Framework\TestCase { /** * @test compressAssociative example usage */ public function compressAssociativeExampleUsage(): void { // Given $starWarsEpiso...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Stream/FileTerminalTest.php
tests/Stream/FileTerminalTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Stream; use IterTools\Stream; use org\bovigo\vfs\vfsStream; use org\bovigo\vfs\vfsStreamDirectory; class FileTerminalTest extends \PHPUnit\Framework\TestCase { private vfsStreamDirectory $root; protected function setUp(): void { $this->ro...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Util/StrictMultipleIteratorTest.php
tests/Util/StrictMultipleIteratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Util; use IterTools\Transform; use IterTools\Util\Iterators\StrictMultipleIterator; class StrictMultipleIteratorTest extends \PHPUnit\Framework\TestCase { /** * @test valid - empty */ public function testValidEmpty(): void { // G...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Util/TeeIteratorTest.php
tests/Util/TeeIteratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Util; use IterTools\Transform; use IterTools\Util\Iterators\TeeIterator; class TeeIteratorTest extends \PHPUnit\Framework\TestCase { public function testErrorNextOnNull(): void { // Given $sourceIterator = Transform::toIterator([1, 2, ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Util/UniqueExtractorTest.php
tests/Util/UniqueExtractorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Util; use IterTools\Util\UniqueExtractor; use IterTools\Tests\Fixture; class UniqueExtractorTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider dataProviderForStrict * @param mixed $var * @param string $expectedPrefix */ ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Fixture/GeneratorFixture.php
tests/Fixture/GeneratorFixture.php
<?php declare(strict_types=1); namespace IterTools\Tests\Fixture; use IterTools\Multi; class GeneratorFixture { public static function getGenerator(array $values): \Generator { foreach ($values as $value) { yield $value; } } public static function getKeyValueGenerator(ar...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Fixture/IteratorAggregateFixture.php
tests/Fixture/IteratorAggregateFixture.php
<?php declare(strict_types=1); namespace IterTools\Tests\Fixture; class IteratorAggregateFixture implements \IteratorAggregate { private array $values; /** * @param array $values */ public function __construct(array $values) { $this->values = $values; } public function get...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Fixture/ArrayIteratorFixture.php
tests/Fixture/ArrayIteratorFixture.php
<?php declare(strict_types=1); namespace IterTools\Tests\Fixture; class ArrayIteratorFixture implements \Iterator { private array $values; private int $i; public function __construct(array $values) { $this->values = $values; $this->i = 0; } public function rewind(): voi...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Fixture/DataProvider.php
tests/Fixture/DataProvider.php
<?php namespace IterTools\Tests\Fixture; use IterTools\Infinite; use IterTools\Math; use IterTools\Multi; use IterTools\Random; use IterTools\Set; use IterTools\Single; use IterTools\Sort; use IterTools\Stream; use IterTools\Tests\Fixture; use IterTools\Transform; trait DataProvider { public function dataProvide...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Fixture/CountableIteratorAggregateFixture.php
tests/Fixture/CountableIteratorAggregateFixture.php
<?php declare(strict_types=1); namespace IterTools\Tests\Fixture; class CountableIteratorAggregateFixture implements \IteratorAggregate, \Countable { private array $values; /** * @param array $values */ public function __construct(array $values) { $this->values = $values; } ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Fixture/FileFixture.php
tests/Fixture/FileFixture.php
<?php namespace IterTools\Tests\Fixture; class FileFixture { /** * @param array<string> $lines * @param string $dirPath * @return resource */ public static function createFromLines(array $lines, string $dirPath) { return self::createFromString(implode(\PHP_EOL, $lines), $dirPat...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/UnionTest.php
tests/Set/UnionTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class UnionTest extends \PHPUnit\Framework\TestCase { /** * @test union exam...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/IntersectionTest.php
tests/Set/IntersectionTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class IntersectionTest extends \PHPUnit\Framework\TestCase { /** * @dataProv...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/DistinctTest.php
tests/Set/DistinctTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class DistinctTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/SymmetricDifferenceTest.php
tests/Set/SymmetricDifferenceTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class SymmetricDifferenceTest extends \PHPUnit\Framework\TestCase { /** * @d...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/PartialIntersectionCoerciveTest.php
tests/Set/PartialIntersectionCoerciveTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class PartialIntersectionCoerciveTest extends \PHPUnit\Framework\TestCase { /** ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
true
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/UnionCoerciveTest.php
tests/Set/UnionCoerciveTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class UnionCoerciveTest extends \PHPUnit\Framework\TestCase { /** * @test un...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/PartialIntersectionTest.php
tests/Set/PartialIntersectionTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class PartialIntersectionTest extends \PHPUnit\Framework\TestCase { /** * @d...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/SymmetricDifferenceCoerciveTest.php
tests/Set/SymmetricDifferenceCoerciveTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class SymmetricDifferenceCoerciveTest extends \PHPUnit\Framework\TestCase { /** ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/IntersectionCoerciveTest.php
tests/Set/IntersectionCoerciveTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class IntersectionCoerciveTest extends \PHPUnit\Framework\TestCase { /** * @...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Set/DistinctByTest.php
tests/Set/DistinctByTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Set; use IterTools\Set; use IterTools\Tests\Fixture\ArrayIteratorFixture; use IterTools\Tests\Fixture\GeneratorFixture; use IterTools\Tests\Fixture\IteratorAggregateFixture; class DistinctByTest extends \PHPUnit\Framework\TestCase { /** * @test disti...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Composition/StringTest.php
tests/Composition/StringTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Infinite; use IterTools\Multi; use IterTools\Single; class StringTest extends \PHPUnit\Framework\TestCase { /** * @test zip strings */ public function testZipStrings(): void { // Given $letters = 'abc'; $numbers =...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Random/ChoiceTest.php
tests/Random/ChoiceTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Single; use IterTools\Random; class ChoiceTest extends \PHPUnit\Framework\TestCase { /** * @test choice int * @dataProvider dataProviderForChoiceInt * @param int[] $items * @param int $repetitions */ pu...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Random/PercentageTest.php
tests/Random/PercentageTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Single; use IterTools\Random; class PercentageTest extends \PHPUnit\Framework\TestCase { /** * @test percentage * @dataProvider dataProviderForPercentage * @param int $repetitions */ public function testPercentage(in...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Random/NumberTest.php
tests/Random/NumberTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Single; use IterTools\Random; class NumberTest extends \PHPUnit\Framework\TestCase { /** * @test number * @dataProvider dataProviderForNumber * @param int $min * @param int $max * @param int $repetitio...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Random/RockPaperScissorsTest.php
tests/Random/RockPaperScissorsTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Single; use IterTools\Random; class RockPaperScissorsTest extends \PHPUnit\Framework\TestCase { /** * @test rockPaperScissors * @dataProvider dataProviderForRockPaperScissors * @param int $repetitions */ public funct...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Random/CoinFlipTest.php
tests/Random/CoinFlipTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Single; use IterTools\Random; class CoinFlipTest extends \PHPUnit\Framework\TestCase { /** * @test coinFlip * @dataProvider dataProviderForCoinFlip * @param int $repetitions */ public function testCoinFlip(int $repet...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ChainTest.php
tests/Multi/ChainTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi; use IterTools\Multi; use IterTools\Tests\Fixture; class ChainTest extends \PHPUnit\Framework\TestCase { /** * @test chain array * @dataProvider dataProviderForArray * @param array $first * @param array $sec...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/Zip/ErrorTest.php
tests/Multi/Zip/ErrorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\Zip; use IterTools\Multi; class ErrorTest extends \PHPUnit\Framework\TestCase { /** * @test Zipping a non-iterable is a type error * @dataProvider dataProviderForNonIterables * @param mixed $nonIterable */ publ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/Zip/TraversableTest.php
tests/Multi/Zip/TraversableTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\Zip; use IterTools\Multi; use IterTools\Tests\Fixture; class TraversableTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two traversable objects of the same size * @dataProvider dataProviderForZipTwoTraversableSameSi...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/Zip/ArrayTest.php
tests/Multi/Zip/ArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\Zip; use IterTools\Multi; class ArrayTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two arrays of the same size * @dataProvider dataProviderForZipTwoArraysSameSize * @param array $array1 * @param ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/Zip/MixedTest.php
tests/Multi/Zip/MixedTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\Zip; use IterTools\Multi; use IterTools\Tests\Fixture; class MixedTest extends \PHPUnit\Framework\TestCase { /** * @test zip with three different iterables of the same size * @dataProvider dataProviderForZipThreeIterablesSameSize ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/Zip/GeneratorTest.php
tests/Multi/Zip/GeneratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\Zip; use IterTools\Multi; use IterTools\Tests\Fixture; class GeneratorTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two generators of the same size * @dataProvider dataProviderForZipTwoGeneratorsSameSize * @p...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/Zip/IteratorTest.php
tests/Multi/Zip/IteratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\Zip; use IterTools\Multi; use IterTools\Tests\Fixture; class IteratorTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two iterators of the same size * @dataProvider dataProviderForZipTwoIteratorsSameSize * @para...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/Zip/IteratorToArrayTest.php
tests/Multi/Zip/IteratorToArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\Zip; use IterTools\Multi; use IterTools\Tests\Fixture; class IteratorToArrayTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two arrays of the same size * @dataProvider dataProviderForZipTwoArraysSameSize * @par...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipLongest/ErrorTest.php
tests/Multi/ZipLongest/ErrorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipLongest; use IterTools\Multi; class ErrorTest extends \PHPUnit\Framework\TestCase { /** * @test Zipping a non-iterable is a type error * @dataProvider dataProviderForNonIterables * @param mixed $nonIterable */ ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipLongest/TraversableTest.php
tests/Multi/ZipLongest/TraversableTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipLongest; use IterTools\Multi; use IterTools\Tests\Fixture; class TraversableTest extends \PHPUnit\Framework\TestCase { /** * @test zipLongest with two traversable objects of the same size * @dataProvider dataProviderForZipLonges...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipLongest/ArrayTest.php
tests/Multi/ZipLongest/ArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipLongest; use IterTools\Multi; class ArrayTest extends \PHPUnit\Framework\TestCase { /** * @test zipLongest with two arrays of the same size * @dataProvider dataProviderForZipLongestTwoArraysSameSize * @param array $a...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipLongest/MixedTest.php
tests/Multi/ZipLongest/MixedTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipLongest; use IterTools\Multi; use IterTools\Tests\Fixture; class MixedTest extends \PHPUnit\Framework\TestCase { /** * @test zipLongest with three different iterables of the same size * @dataProvider dataProviderForZipLongestThr...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipLongest/GeneratorTest.php
tests/Multi/ZipLongest/GeneratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipLongest; use IterTools\Multi; use IterTools\Tests\Fixture; class GeneratorTest extends \PHPUnit\Framework\TestCase { /** * @test zipLongest with two generators of the same size * @dataProvider dataProviderForZipLongestTwoGenerat...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipLongest/IteratorTest.php
tests/Multi/ZipLongest/IteratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipLongest; use IterTools\Multi; use IterTools\Tests\Fixture; class IteratorTest extends \PHPUnit\Framework\TestCase { /** * @test zipLongest with two iterators of the same size * @dataProvider dataProviderForZipLongestTwoIterators...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipLongest/IteratorToArrayTest.php
tests/Multi/ZipLongest/IteratorToArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipLongest; use IterTools\Multi; class IteratorToArrayTest extends \PHPUnit\Framework\TestCase { /** * @test zipLongest with two arrays of the same size * @dataProvider dataProviderForZipLongestTwoArraysSameSize * @param ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipEqual/ErrorTest.php
tests/Multi/ZipEqual/ErrorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipEqual; use IterTools\Multi; class ErrorTest extends \PHPUnit\Framework\TestCase { /** * @test Zipping a non-iterable is a type error * @dataProvider dataProviderForNonIterables * @param mixed $nonIterable */ ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipEqual/TraversableTest.php
tests/Multi/ZipEqual/TraversableTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipEqual; use IterTools\Multi; use IterTools\Tests\Fixture; class TraversableTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two traversable objects of the same size * @dataProvider dataProviderForZipStrictTwoTraver...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipEqual/ArrayTest.php
tests/Multi/ZipEqual/ArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipEqual; use IterTools\Multi; class ArrayTest extends \PHPUnit\Framework\TestCase { /** * @test zipEqual with two arrays of the same size * @dataProvider dataProviderForZipStrictTwoArraysSameSize * @param array $array1...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipEqual/MixedTest.php
tests/Multi/ZipEqual/MixedTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipEqual; use IterTools\Multi; use IterTools\Tests\Fixture; class MixedTest extends \PHPUnit\Framework\TestCase { /** * @test zip with three different iterables of the same size * @dataProvider dataProviderForZipStrictThreeIterable...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipEqual/GeneratorTest.php
tests/Multi/ZipEqual/GeneratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipEqual; use IterTools\Multi; use IterTools\Tests\Fixture; class GeneratorTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two generators of the same size * @dataProvider dataProviderForZipStrictTwoGeneratorsSameSiz...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipEqual/IteratorTest.php
tests/Multi/ZipEqual/IteratorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipEqual; use IterTools\Multi; use IterTools\Tests\Fixture; class IteratorTest extends \PHPUnit\Framework\TestCase { /** * @test zip with two iterators of the same size * @dataProvider dataProviderForZipStrictTwoIteratorsSameSize ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipEqual/IteratorToArrayTest.php
tests/Multi/ZipEqual/IteratorToArrayTest.php
<?php namespace IterTools\Tests\Multi\ZipEqual; use IterTools\Multi; use IterTools\Tests\Fixture; class IteratorToArrayTest extends \PHPUnit\Framework\TestCase { /** * @test zipEqual with two arrays of the same size * @dataProvider dataProviderForZipTwoArraysSameSize * @param array ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipFilled/ErrorTest.php
tests/Multi/ZipFilled/ErrorTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipFilled; use IterTools\Multi; class ErrorTest extends \PHPUnit\Framework\TestCase { /** * @test Zipping a non-iterable is a type error * @dataProvider dataProviderForNonIterables * @param mixed $nonIterable */ ...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipFilled/TraversableTest.php
tests/Multi/ZipFilled/TraversableTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipFilled; use IterTools\Multi; use IterTools\Tests\Fixture; class TraversableTest extends \PHPUnit\Framework\TestCase { /** * @test zipFilled with two traversable objects of the same size * @dataProvider dataProviderForZipFilledTw...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false
markrogoyski/itertools-php
https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipFilled/ArrayTest.php
tests/Multi/ZipFilled/ArrayTest.php
<?php declare(strict_types=1); namespace IterTools\Tests\Multi\ZipFilled; use IterTools\Multi; class ArrayTest extends \PHPUnit\Framework\TestCase { /** * @test zipFilled with two arrays of the same size * @dataProvider dataProviderForZipFilledTwoArraysSameSize * @param mixed $fill...
php
MIT
ced0d7ecdad7b6556ec2d415206c56def69ff0d7
2026-01-05T04:05:19.040395Z
false