Commit graph

8 commits

Author SHA1 Message Date
cc520ea413 Use 'ChessBoardBuilder' in validation tests
The various tests for overlapping can't be triggered with the builder
API, so those have stayed unchanged.
2024-04-01 22:15:41 +01:00
8962fd90f4 Add 'ChessBoardBuilder' 2024-04-01 21:19:55 +01:00
bce690d363 Use 'ChessBoard::validate' in tests
This makes the test more explicit and exact in what they're testing.
2024-04-01 20:43:05 +01:00
4b13bd9a0b Fix 'ChessBoard' validation test
It wasn't actually testing the right thing due to the typo...
2024-04-01 20:43:05 +01:00
90a9ac0f7a Add validation error detail in 'FenError' 2024-04-01 20:43:05 +01:00
4098f188ce Add 'ChessBoard::validate' 2024-04-01 20:43:05 +01:00
5ddab6af0e Add 'chess_board::InvalidError' 2024-04-01 20:43:05 +01:00
c3a9a55be1 Move 'ChessBoard' to its own sub-folder 2024-04-01 19:56:48 +01:00
Renamed from src/board/chess_board.rs (Browse further)