Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write more tests #4

Open
3 of 6 tasks
jamesqo opened this issue May 26, 2020 · 0 comments
Open
3 of 6 tasks

Write more tests #4

jamesqo opened this issue May 26, 2020 · 0 comments
Labels

Comments

@jamesqo
Copy link
Owner

jamesqo commented May 26, 2020

  • Pawn on 7th rank should not cause bounds error (regression)
  • Castling scenarios
    • Castling should not be possible if there are pieces between the king and the rook (regression)
  • Promotion should happen iff pawn moves to back rank (regression)
  • Assert.Throws<AnParseException> tests should be moved from StateTests to MoveTests, or these exceptions should be wrapped
  • En passant tests for ApplyMove, IsMovePossible / GetPossibleDestinations, ParseFen, etc. once the functionality is implemented
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant