dropRight() public method

public dropRight ( $num )
Ejemplo n.º 1
0
 public function test_dr_all_but_one_leaves_first_item()
 {
     $col = $this->col->dropRight(2);
     $this->assertEquals(1, $col->count());
     $this->assertEquals($this->items[0], $col->at(0));
 }