コード例 #1
0
ファイル: TableTest.php プロジェクト: kaantunc/MYK-BOR
 /**
  * Add cell
  */
 public function testCountColumns()
 {
     $oTable = new Table('section', 1);
     $oTable->addRow();
     $element = $oTable->addCell();
     $this->assertEquals($oTable->countColumns(), 1);
     $element = $oTable->addCell();
     $element = $oTable->addCell();
     $this->assertEquals($oTable->countColumns(), 3);
 }