unittest/sudokumaptest.cpp
// Converts a digit of candidate 1..9 to a bitboard representation
Converts a digit of candidate 1..9 to a bitboard representation
Converts a digit of candidate 1 .. 9 to a bitboard representation
SudokuCellCandidates SudokuMapTest::indexToCandidate(SudokuIndex index) {
    if ((index < 1) || (index > 9)) {
        return SudokuCell::SudokuAllCandidates;
    }
    return SudokuTestCommon::ConvertToCandidate(index);
}
SudokuCellCandidates SudokuMapTest :: indexToCandidate ( SudokuIndex index ) { if ( ( index < 1 ) || ( index > 9 ) ) { return SudokuCell :: SudokuAllCandidates ; } return SudokuTestCommon :: ConvertToCandidate ( index ) ; }
Converts a digit of candidate 1..9 to a bitboard representation
Converts a digit of candidate 1 .. 9 to a bitboard representation