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

Tests for Piece methods #16

Open
4 tasks
Tracked by #14
ryan597 opened this issue Dec 9, 2023 · 0 comments
Open
4 tasks
Tracked by #14

Tests for Piece methods #16

ryan597 opened this issue Dec 9, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ryan597
Copy link
Owner

ryan597 commented Dec 9, 2023

Implement test cases for the following methods

  • Test getters: type, colour, file, rank, square
  • Test Piece::move works correctly
  • Test constructors for each derived class, Pawn, Rook etc
  • Test generate_legal_moves() for each derived class
@ryan597 ryan597 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant