unittest/sudokumaptest.cpp
// Checks all index of cells are right
Checks all index of cells are right
Checks all index of cells are right
void SudokuMapTest::checkCellIndexes(void) {
    decltype(SudokuCell::indexNumber_) i = 0;
    for(const auto& cell : pInstance_->cells_) {
        CPPUNIT_ASSERT(cell.indexNumber_ == i);
        ++i;
    }
    return;
}
void SudokuMapTest :: checkCellIndexes ( void ) { decltype ( SudokuCell :: indexNumber_ ) i = 0 ; for ( const auto & cell : pInstance_ -> cells_ ) { CPPUNIT_ASSERT ( cell . indexNumber_ == i ) ; ++ i ; } return ; }
Checks all index of cells are right
Checks all index of cells are right