Bruno BELANYI
|
f4764f2174
|
Use turn counts in 'ChessBoardBuilder'
This makes more sense from a user's perspective.
|
2024-04-01 22:48:55 +01:00 |
|
Bruno BELANYI
|
ef3a1e4695
|
Add half-move clock validation
|
2024-04-01 22:47:59 +01:00 |
|
Bruno BELANYI
|
2853cec7c9
|
Add tests for en-passant validation
|
2024-04-01 22:47:59 +01:00 |
|
Bruno BELANYI
|
ff7bea0508
|
Validate en-passant square's rank in 'ChessBoard'
|
2024-04-01 22:47:59 +01:00 |
|
Bruno BELANYI
|
62c2be48c4
|
Move FEN-related tests to its module
|
2024-04-01 22:47:59 +01:00 |
|
Bruno BELANYI
|
c3be661719
|
Move 'FromFen' for 'ChessBoard' into 'fen' module
|
2024-04-01 22:47:59 +01:00 |
|
Bruno BELANYI
|
b9cc60be9c
|
Use 'ChessBoardBuilder' in 'FromFen'
This will allow taking this *out* of the module, now that we don't need
to reach into the internals of 'ChessBoard'.
|
2024-04-01 22:47:59 +01:00 |
|
Bruno BELANYI
|
a676094dc1
|
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:47:59 +01:00 |
|
Bruno BELANYI
|
1cf05b5f55
|
Add 'ChessBoardBuilder'
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
12909377e4
|
Use 'ChessBoard::validate' in tests
This makes the test more explicit and exact in what they're testing.
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
8173fa2ccd
|
Fix 'ChessBoard' validation test
It wasn't actually testing the right thing due to the typo...
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
127dea25b4
|
Add validation error detail in 'FenError'
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
714feedbd2
|
Add 'ChessBoard::validate'
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
d3386bcb52
|
Add 'chess_board::InvalidError'
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
463b2a1a8f
|
Move 'ChessBoard' to its own sub-folder
|
2024-04-01 22:20:39 +01:00 |
|