Ejemplo n.º 1
0
 public function test_reverse()
 {
     $arr = array(1, 2, 3);
     Enumerator::reverse_($arr);
     $this->assertEquals(array(3, 2, 1), $arr);
 }