/// 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
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")