public function testRepeat() { $this->assertSame([1, 1, 1, 1, 1], toArray(repeat(1, 5))); $this->assertSame([], toArray(repeat(1, 0))); }