gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] a few more tests


From: Arend Bayer
Subject: [gnugo-devel] a few more tests
Date: Mon, 11 Nov 2002 16:56:14 +0100 (CET)

The two attack_either tests that were relevant to Evan's patch, and
two more reading tests (one of them also related to it).

I've put the attack_either tests in tactics.tst, I didn't find a better
place.

Arend

Index: reading.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/reading.tst,v
retrieving revision 1.39
diff -u -p -r1.39 reading.tst
--- reading.tst 27 Oct 2002 16:46:14 -0000      1.39
+++ reading.tst 11 Nov 2002 12:46:04 -0000
@@ -718,6 +718,23 @@ loadsgf games/reading39.sgf
 175 defend O3
 #? [1 (N1|N2)]*

+# See also nngs3:1170
+loadsgf games/nngs/gnugo-3.3.9-nailer-200210192227.sgf 242
+trymove white B1
+176 attack B1
+#? [0]
+
+loadsgf games/mertin13x13/katsunari-gnugo2.W+4.sgf 126
+trymove black L4
+trymove white N3
+trymove black N2
+177 defend K4
+#? [1 N1]
+popgo
+popgo
+popgo
+
+
 # Report number of nodes visited by the tactical reading
 10000 get_reading_node_counter
 #? [0]&
Index: tactics.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/tactics.tst,v
retrieving revision 1.13
diff -u -p -r1.13 tactics.tst
--- tactics.tst 19 Sep 2002 12:57:29 -0000      1.13
+++ tactics.tst 11 Nov 2002 12:46:04 -0000
@@ -26,6 +26,29 @@ loadsgf games/tactics04.sgf 206
 5 gg_genmove white
 #? [N16]

+# attack_either and defend_both tests could go in a separate test suite,
+# once there is more of them
+
+loadsgf games/nngs/Lazarus-gnugo-3.1.34-200204280120.sgf 32
+trymove black D12
+trymove white C13
+trymove white C12
+trymove white C11
+101 attack_either C11 D12
+#? [1 D12]
+popgo
+popgo
+popgo
+popgo
+
+# This is subtle. White N3 works as defense to L4.
+loadsgf games/mertin13x13/katsunari-gnugo2.W+4.sgf 126
+trymove black L4
+102 defend_both N7 K4
+#? [0]
+popgo
+
+

 ############ End of Tests #################






reply via email to

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