gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] regression patch


From: Gunnar Farneback
Subject: [gnugo-devel] regression patch
Date: Wed, 28 Nov 2001 17:37:43 +0100
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode)

This patch adds some new test cases for eye spaces with ko half eyes
and revises some old test cases.

- new and revised test cases

/Gunnar

Index: regression/connection.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/connection.tst,v
retrieving revision 1.11
diff -u -r1.11 connection.tst
--- regression/connection.tst   2001/11/18 05:33:02     1.11
+++ regression/connection.tst   2001/11/28 16:33:34
@@ -115,6 +115,10 @@
 32 disconnect B12 E9
 #? [1 D9]*
 
+loadsgf games/trevor/auto/a035.sgf 28
+33 disconnect B4 C6
+#? [B5]*
+
 # Report number of nodes visited by the tactical reading
 10000 get_reading_node_counter
 #? [0]&
Index: regression/optics.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/optics.tst,v
retrieving revision 1.3
diff -u -r1.3 optics.tst
--- regression/optics.tst       2001/09/06 21:34:20     1.3
+++ regression/optics.tst       2001/11/28 16:33:34
@@ -189,6 +189,36 @@
 1705 eval_eye A19
 #? [1 2 A18 A18]
 
+# Eye spaces with ko contingent margins.
+# Either min or max in these depends on ko.
+loadsgf games/marginal_ko.sgf
+1801 eval_eye A19
+#? [0 1 (A19|B17) B17]
+1802 eval_eye B17
+#? [0 1 (A19|B17) A19]
+1803 eval_eye N17
+#? [1 1]
+1804 eval_eye J12
+#? [1 1]
+1805 eval_eye A13
+#? [0 1 B12 B12]
+1806 eval_eye A8
+#? [1 1]
+1807 eval_eye F7
+#? [1 2 F11 (F11|H8|F8)]
+1808 eval_eye N7
+#? [0 1 (L6|P8) (L6|P8)]
+1809 eval_eye K5
+#? [0 1 (L6 L6)]
+1810 eval_eye A1
+#? [0 1 B2 B2]
+1811 eval_eye H1
+#? [1 2 (J1|L2) J1]*
+1812 eval_eye S1
+#? [0 1 R2 R2]
+
+
+
 # Report number of nodes visited by the tactical reading
 10000 get_reading_node_counter
 #? [0]&
Index: regression/owl.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/owl.tst,v
retrieving revision 1.23
diff -u -r1.23 owl.tst
--- regression/owl.tst  2001/11/25 11:23:40     1.23
+++ regression/owl.tst  2001/11/28 16:33:34
@@ -178,7 +178,7 @@
 50 owl_attack D19
 #? [1 E19]
 51 owl_defend D19
-#? [1 E19]
+#? [1 (E19|B19)]
 
 loadsgf games/owl04.sgf
 52 owl_attack Q7
@@ -865,6 +865,42 @@
 loadsgf games/owl33.sgf 212
 237 owl_defend S12
 #? [0]*
+
+# See also optics:1801-1812
+loadsgf games/marginal_ko.sgf
+238 owl_attack B19
+#? [1 (B17|A19)]
+239 owl_defend B19
+#? [2 B17]
+240 owl_attack G19
+#? [0]
+241 owl_attack M19
+#? [0]
+242 owl_attack J15
+#? [0]
+243 owl_attack A11
+#? [0]
+244 owl_attack D11
+#? [(2|3) F11]
+245 owl_defend D11
+#? [1 (F11|H8|F8)]
+246 owl_attack N9
+#? [3 (L6|P8)]
+247 owl_defend N9
+#? [1 (L6|P8)]
+248 owl_attack A6
+#? [1 (J1|L2)]
+249 owl_defend A6
+#? [2 (J1|B7|B2)]*
+250 owl_attack R3
+#? [1 (T3|R2)]
+251 owl_defend R3
+#? [3 T3]
+252 owl_attack C2
+#? [2 B2]
+253 owl_defend C2
+#? [1 B2]
+
 
 ########### end of tests #####################
 
Index: regression/trevora.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/trevora.tst,v
retrieving revision 1.1
diff -u -r1.1 trevora.tst
--- regression/trevora.tst      2001/11/22 16:14:43     1.1
+++ regression/trevora.tst      2001/11/28 16:33:34
@@ -257,10 +257,10 @@
 
 # games/trevor/auto/a026.sgf problems:
 
-#Once you've haned, you've gotta connect.  (Or you souldn't have haned.
+#Once you've haned, you've gotta connect.  (Or you shouldn't have haned.)
 loadsgf games/trevor/auto/a026.sgf 16
 420 gg_genmove white
-#? [J6]*
+#? [J5]*
 
 
 
Index: regression/games/marginal_ko.sgf
===================================================================
RCS file: marginal_ko.sgf
diff -N marginal_ko.sgf
--- /dev/null   Sat Apr 14 20:46:23 2001
+++ marginal_ko.sgf     Wed Nov 28 11:33:34 2001
@@ -0,0 +1,10 @@
+(;GM[1]FF[3]
+RU[Japanese]SZ[19]HA[0]KM[5.5]
+PW[White]
+PB[Black]
+GN[White (W) vs. Black (B)]
+DT[2001-11-27]
+SY[Cgoban 1.9.2]TM[5:00:00(5x1:00)];
+AW[ga][la][ma][oa][bb][gb][kb][mb][nb][ob][ac][cc][fc][gc][lc][nc][ad][bd][cd][dd][ed][fd][ld][md][od][be][ie][je][me][ne][af][bf][hf][if][kf][bg][cg][gg][ig][jg][kg][ah][ch][hh][jh][bi][di][ei][hi][ii][dj][ej][gj][ij][jj][ek][gk][mk][nk][el][gl][ll][ml][dm][em][hm][im][lm][nm][an][cn][en][fn][gn][in][mn][nn][on][ao][bo][co][lo][mo][oo][ap][bp][cp][dp][ep][fp][mp][np][sp][aq][cq][fq][gq][jq][kq][qq][rq][gr][hr][ir][jr][lr][pr][rr][gs][ks][qs][ss]
+AB[ba][ca][ea][ia][ja][ka][qa][ab][cb][db][eb][hb][jb][qb][hc][ic][jc][kc][oc][pc][qc][gd][hd][kd][pd][de][ee][fe][ge][le][oe][pe][df][ff][gf][lf][dg][fg][lg][dh][eh][fh][gh][kh][lh][ai][ci][gi][ji][li][mi][ni][oi][aj][bj][cj][hj][kj][lj][oj][bk][dk][hk][ik][kk][ok][pk][bl][cl][dl][il][jl][nl][pl][am][cm][km][om][pm][bn][dn][hn][jn][ln][pn][rn][sn][do][eo][fo][go][io][ko][po][ro][gp][hp][ip][jp][kp][pp][qp][rp][bq][lq][mq][oq][pq][ar][cr][dr][er][mr][nr][or][bs][cs][es][ls][ms][os][ps]
+)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]