46extern int SqIs120(
const int sq);
void DebugAnalysisTest(S_BOARD *pos, S_SEARCHINFO *info)
Runs a debug analysis test (used for search engine testing).
int SqIs120(const int sq)
Checks if a given square index is within the 120-based range.
void MirrorEvalTest(S_BOARD *pos)
Mirrors the board position and evaluates it (used for testing).
int PceValidEmptyOffbrd(const int pce)
Checks if the given piece code is empty, valid, or OFFBOARD.
int FileRankValid(const int fr)
Checks if a file or rank index is valid (0–7).
int pieceValueidEmpty(const int pce)
Checks if the given piece code is either empty or a valid piece.
int pieceValueid(const int pce)
Checks if the given piece code is a valid piece (non-empty).
int SqOnBoard(const int sq)
Checks if a given square index refers to a valid on-board square.
int SideValid(const int side)
Checks if the given side identifier is valid.
int MoveListOk(const S_MOVELIST *list, const S_BOARD *pos)
Validates that a move list is within bounds and references valid moves.