Example #1
0
    def setUp(self):
        conf = configparser.ConfigParser()
        conf.add_section("Fishnet")
        conf.set("Fishnet", "Key", "testkey")

        fishnet.get_engine_command(conf, update=True)

        self.worker = fishnet.Worker(conf, threads=multiprocessing.cpu_count())
        self.worker.start_engine()
Example #2
0
    def setUp(self):
        conf = configparser.ConfigParser()
        conf.add_section("Fishnet")
        conf.set("Fishnet", "Key", "testkey")

        fishnet.get_stockfish_command(conf, update=True)

        self.worker = fishnet.Worker(conf,
            threads=multiprocessing.cpu_count(),
            memory=32,
            progress_reporter=None)
        self.worker.start_stockfish()