public function testReturnsCorrectName() { $this->assertEquals('B4', Cell::factoryFromCoordinates(1, 3)->getName()); }
private function _reducePossibilitiesForValuesAppearingInHint() { $rows = $this->_grid->getCells(); foreach ($rows as $row => $cells) { foreach ($cells as $col => $cell) { $cellName = Cell::factoryFromCoordinates($col, $row)->getName(); $value = $this->_grid->getValue($cellName); if (!$value) { continue; } $this->_assignValue($cellName, $value); } } }