Esempio n. 1
0
 public function testCall()
 {
     $t = new \Test\Fcall();
     $this->assertSame($t->testCall1(), 0);
     $this->assertLessThan($t->testCall2(), -1);
     $this->assertSame($t->testCall1FromVar(), 2);
 }
Esempio n. 2
0
 public function testCall()
 {
     $t = new \Test\Fcall();
     $this->assertTrue($t->testCall1() === 0);
     $this->assertTrue($t->testCall2() > -1);
     $this->assertTrue($t->testCall1FromVar() === 2);
 }