Closed nextchessmove closed 2 years ago
Here's my first stab at it.
I wasn't sure the best way to exercise is_rule50/1, so I ended up testing it via. :binbo.move/2 in the same way the existing tests test for stalemate.
is_rule50/1
:binbo.move/2
Let me know if I'm way off, or if there's anything at all you would have done differently!
Good stab! PR accepted, thanks!
Here's my first stab at it.
I wasn't sure the best way to exercise
is_rule50/1
, so I ended up testing it via.:binbo.move/2
in the same way the existing tests test for stalemate.Let me know if I'm way off, or if there's anything at all you would have done differently!