Bug 715

Summary: The result returned by getresult function is not true when Red player win
Product: Group 9 Reporter: choy kai chuen <kaichoy5-c>
Component: DefaultGameBoardAssignee: cklo36-c
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: 1   
Hardware: PC   
OS: Windows   
Deadline: 2022-11-21   

Description choy kai chuen 2022-11-19 11:09:33 HKT
When testing with the test function "Should_ReturnRedWin_WhenTheMoveCommandsIsPerformed", if the red player win, the getResult() function return null instead of Red disc.
Comment 1 cklo36-c 2022-11-20 00:42:37 HKT
I do find the bug.
It is caused by a wrong parameter of checkDownDiagonal() call in getResult().
Fixed.