Skip to content

Commit

Permalink
Add failing test for probe_wdl
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Mar 12, 2015
1 parent 9449935 commit 91a158f
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 203 deletions.
3 changes: 3 additions & 0 deletions chess/syzygy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,9 @@ def probe_wdl_table(self, board):

return self.wdl[key].probe_wdl_table(board)

def probe_wdl(self, board):
return self.probe_wdl_table(board)

def close(self):
while self.wdl:
key, wdl = self.wdl.popitem()
Expand Down
Loading

0 comments on commit 91a158f

Please sign in to comment.