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
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.