Ejemplo n.º 1
0
 def _setupengine(self, mode):
     engine = DummyCECPAnalyzerEngine()
     analyzer = CECPEngine(engine, WHITE, 2, 0)
     def optionsCallback (engine):
         analyzer.setOptionAnalyzing(mode)
     analyzer.connect("readyForOptions", optionsCallback)
     analyzer.prestart()
     analyzer.start()
     return engine, analyzer
Ejemplo n.º 2
0
 def _setupengine(self, mode):
     engine = DummyCECPAnalyzerEngine()
     analyzer = CECPEngine(engine, WHITE, 2, 0)
     def optionsCallback (engine):
         analyzer.setOptionAnalyzing(mode)
     analyzer.connect("readyForOptions", optionsCallback)
     analyzer.prestart()
     analyzer.start()
     return engine, analyzer