Bug 747

Summary: Some parts of game class cannot be tested
Product: Chess Game - Group 24 Reporter: gsalter2-c
Component: ChessAssignee: jtoromano2-c
Status: RESOLVED FIXED    
Severity: normal CC: gsalter2-c
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Mac OS   

Description gsalter2-c 2022-11-28 15:47:40 HKT

    
Comment 1 jtoromano2-c 2022-11-28 16:16:25 HKT
Reason:
It has happened that some scenarios of the game class cannot be tested. It was because some of the testing conditions were repeated more then once.

Resolution:
I have restructured some parts of Game class to achieve better coverage of scenarios. For example, checking if starting point of the move is empty before checking logic for king and rook movements. 



https://github.com/glennsalter/cs3343-chess/commit/fd748303c95c2468b815e95ad219d89bf9bd3d62