Esempio n. 1
0
 /**
  * @depends testToArray
  */
 function testSkipAll()
 {
     $a = new Vector(0, 1);
     $b = $a->skip(2);
     $this->assertInstanceOf('Collections\\Vector', $b);
     $expect = [];
     $copy = [];
     $actual = $b->toArray($copy, null);
     $this->assertEquals($expect, $actual);
 }