Skip to content

Tests for Board methods #15

@ryan597

Description

@ryan597

Implement test cases for the following

  • Default Constructor Board::Board()
  • Fischer Random Constructor Board::Board(960)
  • FEN: get, set, validate, print fen
  • Print position from a given FEN Board::print_position(fen)
  • Print current position from pieces Board::print()
  • Check if given move is legal Board::is_legal_move
  • Check moves are interpreted correctly (setup different FENs and test multiple different types of moves) Board::move()
  • Check parsing Board::parse_move()
  • Check pieces are initialized Board::get_pieces()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions