Esempio n. 1
0
 function test()
 {
     $f = new F();
     $comp = $f->comp($f->even, $f->inc);
     $this->assertTrue($comp(1));
     $this->assertSame([true, false], $f->map($f->comp($f->even, $f->inc), [1, 2]));
 }