your test is too faraway from the method you suspect.

回答: Herecm9301182018-05-24 14:33:20

Your test is too faraway from the method isLegal() you suspect. You need write a unittest to test the methods when you suspect it is not working.

isLegal() is an implementation. I guess it is called in CardGameGUI somewhere. Check CardGameGUI If isLegal() has been actually called.

containsJQK() and containsPairSum11() are private. why you write them?

give me class Deck.

所有跟帖: 

Deck class as follows below: 谢谢! -cm930118- 给 cm930118 发送悄悄话 (0 bytes) () 05/24/2018 postreply 15:24:18

Deck looks good; -LiveInCanada2- 给 LiveInCanada2 发送悄悄话 (1621 bytes) () 05/24/2018 postreply 15:57:53

I did some searching on Google and found out what implementation -cm930118- 给 cm930118 发送悄悄话 (234 bytes) () 05/24/2018 postreply 16:53:00

请您先登陆,再发跟帖!