Bug 311

Summary: Fail to get reward under a winning condition
Product: Slot Machine Reporter: josephccs0917
Component: slot machineAssignee: stanley.wk.man
Status: RESOLVED FIXED    
Severity: major CC: cfyeung27-c, josephccs0917
Priority: High    
Version: 0.1 alpha   
Hardware: PC   
OS: Mac OS   
Deadline: 2019-11-24   

Description josephccs0917 2019-11-23 12:36:25 HKT
The machine should show "win" and give reward to me when three same patterns are aligned in the same row. However, when three "bar" are aligned in the middle row, the machine shows "lose" and did not return any reward.
Comment 1 stanley.wk.man 2019-11-24 14:03:39 HKT
Resolved.
The method was missing a .getName() which made it comparing Object with String directly and produced the defect.
Comment 2 stanley.wk.man 2019-11-24 14:05:03 HKT
Resolved.
The method was missing a .getName() which made it comparing Object with String directly and produced the defect.
Comment 3 stanley.wk.man 2019-11-24 14:06:00 HKT
*** Bug 310 has been marked as a duplicate of this bug. ***