Bug 236

Summary: PDoubleStraight > any Pbomb of lesser value evaluates to true
Product: Group 8 Reporter: pchatterj2
Component: MainAssignee: suchzheng2-c
Status: CONFIRMED ---    
Severity: major    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   
Deadline: 2017-11-30   

Description pchatterj2 2017-11-30 20:48:29 HKT
How to duplicate

Initialise an object of class PDoubleStraight with ArrayList<Integer> input of 
[1, 1, 2 , 2 , 3, 3, 4, 4, 5, 5]

Call method isLarger of this object with the argument new Pbomb(6)

Expected :

Evaluates to false as a bomb pattern has more points/ beats any other pattern apart from a rocket, regardless of value.

Actual : 

Evaluates to true, i.e., shows that the bomb of 6 is smaller