[][src]Module pleco::board::perft

perft, or Performance Test, Move Path Enumeration, tests the correctness of move-generation.

Use these functions on a Board to test that the correct amount of leaf nodes are created.

Structs

PerftNodes

Holds all information about the number of nodes counted.

Functions

perft

Returns the number of leaf nodes from generating moves to a certain depth.

perft_all

Returns the count of all move types for the leaf nodes up to a certain depth.