示例#1
0
 public function testDropWhile()
 {
     $this->assertSame([0, $this->a, $this->b, 0], $this->seq->dropWhile(function () {
         return false;
     })->all());
     $this->assertSame([], $this->seq->dropWhile(function () {
         return true;
     })->all());
 }