Updated README: Equal sign not required with `--mode` flag.
[sgk-go] / regression / tiny.tst
CommitLineData
7eeb782e
AT
1# This test suite contains tests for boards of size 1x1, 2x2, 3x3, and 4x4.
2
3# No legal move on 1x1, so PASS is the only option.
4boardsize 1
5clear_board
6101 reg_genmove black
7#? [PASS]
8
9
10# Should play on the empty board. (?)
11loadsgf games/tiny/2x2.sgf 1
12201 reg_genmove black
13#? [A1|A2|B1|B2]
14
15# B2 urgent
16loadsgf games/tiny/2x2.sgf 2
17202 reg_genmove white
18#? [B2]
19
20# Black can make two eyes.
21203 reg_genmove black
22#? [B2]
23
24# Black can make two eyes.
25loadsgf games/tiny/2x2.sgf 3
26204 reg_genmove black
27#? [B2]
28
29
30# Taking the center point secures the whole board.
31loadsgf games/tiny/3x3a.sgf 1
32301 reg_genmove black
33#? [B2]
34
35loadsgf games/tiny/3x3a.sgf 3
36302 reg_genmove black
37#? [B1|B3|C2]
38
39loadsgf games/tiny/3x3a.sgf 5
40303 reg_genmove black
41#? [C2]
42
43loadsgf games/tiny/3x3b.sgf 2
44304 reg_genmove white
45#? [B2]*
46
47loadsgf games/tiny/3x3b.sgf 3
48305 reg_genmove black
49#? [B3|B1|C2]
50
51loadsgf games/tiny/3x3b.sgf 5
52306 reg_genmove black
53#? [C2]
54
55
56loadsgf games/tiny/4x4a.sgf 1
57401 reg_genmove black
58#? [B2|C2|B3|C3]
59
60loadsgf games/tiny/4x4a.sgf 2
61402 reg_genmove white
62#? [B2]*
63
64loadsgf games/tiny/4x4a.sgf 3
65403 reg_genmove black
66#? [B3|C2]
67
68loadsgf games/tiny/4x4a.sgf 4
69404 reg_genmove white
70#? [B3]
71
72loadsgf games/tiny/4x4a.sgf 5
73405 reg_genmove black
74#? [B1|B4|C1|C4]
75
76# C4 gives the same result under Chinese rules but is one point worse
77# under Japanese rules.
78loadsgf games/tiny/4x4a.sgf 6
79406 reg_genmove white
80#? [C1]
81
82# A3, B1, C4, and D2 all give jigo under Japanese rules. Under Chinese
83# rules the results are A3:B+2, B1:B+1, C4:jigo, D2:W+1.
84loadsgf games/tiny/4x4a.sgf 7
85407 reg_genmove black
86#? [A3]*
87
88# Under Chinese rules all of B1, D2, and C4 give B+2. Under Japanese
89# rules B1 and D2 give jigo while C4 gives B+1.
90loadsgf games/tiny/4x4a.sgf 8
91408 reg_genmove white
92#? [B1|D2]
93
94# A2, C4, and D2 all give jigo under Japanese rules. Under Chinese
95# rules A2 gives B+2, C4 gives jigo, and D2 gives W+1.
96loadsgf games/tiny/4x4a.sgf 9
97409 reg_genmove black
98#? [A2]
99
100loadsgf games/tiny/4x4a.sgf 10
101410 reg_genmove white
102#? [D2]
103
104loadsgf games/tiny/4x4a.sgf 11
105411 reg_genmove black
106#? [D4]