From 782f3a14ac9aff04f7b9d9365880bffb5a1630d9 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sat, 5 Sep 2020 10:21:42 +0800 Subject: [PATCH] =?UTF-8?q?analyze:=20=E6=89=93=E5=8D=B0=20Key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/aithread.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/aithread.cpp b/src/aithread.cpp index c724fc52..14450c82 100644 --- a/src/aithread.cpp +++ b/src/aithread.cpp @@ -142,7 +142,13 @@ void AiThread::analyze(Color c) Position *pos = ai.position(); +#ifdef TEST_MODE cout << *pos << endl; +#endif + +#ifdef TEST_MODE + cout << "Key: " << std::hex << std::uppercase << pos->key() << endl; +#endif if (v == VALUE_UNIQUE) { cout << "唯一着法" << endl << endl << endl;