public function AutoFilterTest::testGetColumnOffset in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Worksheet/AutoFilterTest.php \AutoFilterTest::testGetColumnOffset()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ AutoFilterTest.php, line 113
Class
Code
public function testGetColumnOffset() {
$columnIndexes = array(
'H' => 0,
'K' => 3,
'M' => 5,
);
// If we request a specific column by its column ID, we should get an
// integer returned representing the column offset within the range
foreach ($columnIndexes as $columnIndex => $columnOffset) {
$result = $this->_testAutoFilterObject
->getColumnOffset($columnIndex);
$this
->assertEquals($columnOffset, $result);
}
}