def play(self, color, vertex): self.gtp_subprocess.send("play {}\n".format(gtp_move(color, vertex)))
def test_gtp_move(self): self.assertEqual(gtp_move(BLACK, (3, 2)), "B C2")