Esempio n. 1
0
 public function testConsPrependsAnItemToASequence()
 {
     $seq = lang::cons(1, new lang\Vector(2, 3));
     $this->assertEquals(3, $seq->count());
     $this->assertEquals(1, $seq->first());
 }