unittest/sudokumaptest.cpp
// Sets a candidate to cells in the top row except its rightmost
Sets a candidate to cells in the top row except its rightmost
Sets a candidate to cells in the top row except its rightmost
void SudokuMapTest::setTopLineExceptRightest(void) {
    for(SudokuIndex i=0;i<Sudoku::SizeOfCellsPerGroup - 1;++i) {
        pInstance_->cells_[i].candidates_ = indexToCandidate(i+1);
    }
    return;
}
void SudokuMapTest :: setTopLineExceptRightest ( void ) { for ( SudokuIndex i = 0 ; i < Sudoku :: SizeOfCellsPerGroup - 1 ; ++ i ) { pInstance_ -> cells_ [ i ] . candidates_ = indexToCandidate ( i + 1 ) ; } return ; }
Sets a candidate to cells in the top row except its rightmost
Sets a candidate to cells in the top row except its rightmost