| Summary: | in CardAnalyser - TioX is incorrectly recognized as a AirPlane | ||
|---|---|---|---|
| Product: | Group 8 (2019) | Reporter: | LXL <xinlinli7-c> |
| Component: | Factory | Assignee: | CJQ <jiaqchen5-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jiaqchen5-c |
| Priority: | --- | ||
| Version: | Version1.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS | ||
| Attachments: |
test screenshot
XXXY bug solved screenshot |
||
Created attachment 38 [details]
XXXY bug solved screenshot
Bug "XXXY" card combination returns true when being tested in isAirPlain() has been solved
A judgment instruction is added in isAirPlane() as below:
if(cards.size()==4 || cards.size()==5) return false;
The screenshot of correct testing is in Attachment 38 [details]. The actual output is false now.
|
Created attachment 35 [details] test screenshot During the test of isAirplane() method of CardAnalyser, we test the cards pattern of 'AAAB' which is not an Airplane but a TioX. However, the function verified it as an Airplane incorrectly. The screenshot of test script and result are shown in the attachment. Expected Output: false Actual Output: true