ChessCom / Chess-Game

Based on Pear Games_Chess - represents a chess game as a php object
Other
42 stars 20 forks source link

[RFC] Provide failing test case for king moves #18

Closed marcosdsanchez closed 8 years ago

marcosdsanchez commented 10 years ago

Failing test case for the bug that @BiviaBen explains in #16

The following test case fails in master and passes in the branch BPC/benevolent-king-fix

Ignore travis-ci for master based PRs. Use phpunit tests/ChessGameTest to test.

Notice that testKingValidMovesMakingMoves is the test that fails. TestKingValidMovesWithMoveSAN passes.

//cc @jseverson @lackovic10 @kalifg