Introduction
Introduction Statistics Contact Development Disclaimer Help
tests.sh: add 2 tests - chess-puzzles - chess puzzle book generator
git clone git://git.codemadness.org/chess-puzzles
Log
Files
Refs
README
LICENSE
---
commit 5f6b743ef448f1d096d01ffafe4d112e47768a2f
parent 1f750e11a33213399d0ae7f8817d52f35cc8b6b8
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 7 Jan 2024 15:51:17 +0100
tests.sh: add 2 tests
Diffstat:
M tests.sh | 15 +++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/tests.sh b/tests.sh
@@ -477,6 +477,21 @@ testpgn 'white is not checkmated (en passant square is set…
'1. dxc6'\
'rnbqkbnr/p2ppppp/1p6/1PpPP3/2PKQ3/2PQQ3/P1PP1PPP/RNBQ1BNR w kq c6 0 1…
'd5c6'
+
+testpgn 'Smothered mate, mate in 3'\
+ '1. Nh6+ Kh8 2. Qg8+ Rxg8 3. Nf7#'\
+ '5rk1/5Npp/8/3Q4/8/8/8/K7 w - - 0 1'\
+ 'f7h6 g8h8 d5g8 f8g8 h6f7'
+
+testpgn 'white is in check, defend with knight and checkmate'\
+ '1. Ng1#'\
+ '8/7k/8/8/8/7N/6RR/3r3K w - - 0 1'\
+ 'h3g1'
+
+testpgn 'Black checks white (blunder), white defends with knight and checkmate…
+ '1. ... Rd1+ 2. Ng1#'\
+ '8/7k/8/8/3r4/7N/6RR/7K b - - 0 1'\
+ 'd4d1 h3g1'
}
tests_fen
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.