From: Fabian Fichter Date: Sun, 24 May 2020 14:05:22 +0000 (+0200) Subject: Restore development version X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=972d52c8412f970565e3b4c112b831ecb3129cf3;p=fairystockfish.git Restore development version --- diff --git a/src/misc.cpp b/src/misc.cpp index f69eb25..b3e43bd 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -56,7 +56,7 @@ namespace { /// Version number. If Version is left empty, then compile date in the format /// DD-MM-YY and show in engine_info. -const string Version = "11.1"; +const string Version = ""; /// Our fancy logging facility. The trick here is to replace cin.rdbuf() and /// cout.rdbuf() with two Tie objects that tie cin and cout to a file stream. We diff --git a/test.py b/test.py index 97a3f62..2bce111 100644 --- a/test.py +++ b/test.py @@ -124,7 +124,7 @@ variant_positions = { class TestPyffish(unittest.TestCase): def test_info(self): result = sf.info() - self.assertEqual(result[:15], "Fairy-Stockfish") + self.assertTrue(result.startswith("Fairy-Stockfish")) def test_set_option(self): result = sf.set_option("UCI_Variant", "capablanca")