public function testThatAddRangeAppendsToTheEndOfTheSourceCollections(\Pinq\ICollection $collection, array $data)
{
$filteredScopeCollection = $collection->where(function ($i) {
return $i % 2 === 0;
});
$slicedScopeCollection = $filteredScopeCollection->slice(2, 4);
$slicedScopeCollection->addRange([51, 70, 100]);
$this->assertMatchesValues($slicedScopeCollection, [6, 8, 10, 70]);
$this->assertMatchesValues($filteredScopeCollection, [2, 4, 6, 8, 10, 70, 100]);
$this->assertMatchesValues($collection, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 51, 70, 100]);
}