jladdjr/chess

Positive test for checkmate failing

Closed this issue · 4 comments

(Found on Chris' branch)

Test currently has one failure:

screen shot 2014-01-28 at 10 58 40 pm

checkmate2 represents a valid case of checkmate:

screen shot 2014-01-28 at 10 58 57 pm

I think that there is a problem with this. The example you list references board2, which is not actually checkmate. This returns false when it should.

Good point - I should have shown the full code - board2 has actually been set to have the same state as checkmate2:

screen shot 2014-01-31 at 12 37 56 pm

Checkmate2 is not a valid checkmate. See d6c5.

Not a bug: see issue #6. Closing ticket..