#pragma once #include #include "position.h" namespace rigby { u64 perft(const Position& pos, int depth); // Prints the node count of every root move, then the total. void perft_divide(const Position& pos, int depth); // Runs the standard perft positions; returns true when every count matches. bool perft_suite(int max_depth); // Runs every " ;D1 ;D2 ..." line of an EPD file up to // max_depth (Chess960 suites use Shredder-FEN castling); true when all match. bool perft_file(const std::string& path, int max_depth); } // namespace rigby