Пример #1
0
 public function testBlock()
 {
     $t = new \Test\Cblock();
     $this->assertEquals($t->testCblock1(), 10);
     $this->assertEquals($t->testCblock2(), 55);
 }
Пример #2
0
 public function testBlock()
 {
     $t = new \Test\Cblock();
     $this->assertTrue($t->testCblock1() == 40);
     $this->assertTrue($t->testCblock2() == 102334155);
 }