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
Implement test cases for the following methods
Piece::moveworks correctlyPawn,Rooketcgenerate_legal_moves()for each derived class