Jump to content

Template:Chess diagram-fen/testcases

From Wikipedia, the free encyclopedia

Test 1

[edit]
Sandbox
standard opening position of a chess game
abcdefgh
8
a8 black rook
b8 black knight
c8 black bishop
d8 black queen
e8 black king
f8 black bishop
g8 black knight
h8 black rook
a7 black pawn
b7 black pawn
c7 black pawn
d7 black pawn
e7 black pawn
f7 black pawn
g7 black pawn
h7 black pawn
a2 white pawn
b2 white pawn
c2 white pawn
d2 white pawn
e2 white pawn
f2 white pawn
g2 white pawn
h2 white pawn
a1 white rook
b1 white knight
c1 white bishop
d1 white queen
e1 white king
f1 white bishop
g1 white knight
h1 white rook
8
77
66
55
44
33
22
11
abcdefgh
White moves first
Main
standard opening position of a chess game
abcdefgh
8
a8 black rook
b8 black knight
c8 black bishop
d8 black queen
e8 black king
f8 black bishop
g8 black knight
h8 black rook
a7 black pawn
b7 black pawn
c7 black pawn
d7 black pawn
e7 black pawn
f7 black pawn
g7 black pawn
h7 black pawn
a2 white pawn
b2 white pawn
c2 white pawn
d2 white pawn
e2 white pawn
f2 white pawn
g2 white pawn
h2 white pawn
a1 white rook
b1 white knight
c1 white bishop
d1 white queen
e1 white king
f1 white bishop
g1 white knight
h1 white rook
8
77
66
55
44
33
22
11
abcdefgh
White moves first

Test 2 (reverse)

[edit]
Sandbox
hgfedcba
1
h1 white rook
g1 white knight
f1 white bishop
e1 white king
d1 white queen
c1 white bishop
b1 white knight
a1 white rook
h2 white pawn
g2 white pawn
f2 white pawn
e2 white pawn
d2 white pawn
c2 white pawn
b2 white pawn
a2 white pawn
h7 black pawn
g7 black pawn
f7 black pawn
e7 black pawn
d7 black pawn
c7 black pawn
b7 black pawn
a7 black pawn
h8 black rook
g8 black knight
f8 black bishop
e8 black king
d8 black queen
c8 black bishop
b8 black knight
a8 black rook
1
22
33
44
55
66
77
88
hgfedcba
Main
hgfedcba
1
h1 white rook
g1 white knight
f1 white bishop
e1 white king
d1 white queen
c1 white bishop
b1 white knight
a1 white rook
h2 white pawn
g2 white pawn
f2 white pawn
e2 white pawn
d2 white pawn
c2 white pawn
b2 white pawn
a2 white pawn
h7 black pawn
g7 black pawn
f7 black pawn
e7 black pawn
d7 black pawn
c7 black pawn
b7 black pawn
a7 black pawn
h8 black rook
g8 black knight
f8 black bishop
e8 black king
d8 black queen
c8 black bishop
b8 black knight
a8 black rook
1
22
33
44
55
66
77
88
hgfedcba

Test 3 (size = 40)

[edit]
Sandbox
abcdefgh
8
a8 black rook
e8 black rook
g8 black king
b7 black bishop
c7 black queen
d7 black knight
f7 black pawn
h7 black pawn
a6 black pawn
b6 black pawn
c6 black knight
d6 black pawn
e6 black pawn
g6 black pawn
g5 white pawn
a4 white pawn
d4 white knight
e4 white pawn
f4 white pawn
c3 white knight
h3 white rook
b2 white pawn
c2 white pawn
f2 white queen
g2 white bishop
h2 white pawn
f1 white rook
h1 white king
8
77
66
55
44
33
22
11
abcdefgh
Main
abcdefgh
8
a8 black rook
e8 black rook
g8 black king
b7 black bishop
c7 black queen
d7 black knight
f7 black pawn
h7 black pawn
a6 black pawn
b6 black pawn
c6 black knight
d6 black pawn
e6 black pawn
g6 black pawn
g5 white pawn
a4 white pawn
d4 white knight
e4 white pawn
f4 white pawn
c3 white knight
h3 white rook
b2 white pawn
c2 white pawn
f2 white queen
g2 white bishop
h2 white pawn
f1 white rook
h1 white king
8
77
66
55
44
33
22
11
abcdefgh