your test is too faraway from the method you suspect.

来源: 2018-05-24 15:16:45 [旧帖] [给我悄悄话] 本文已被阅读:

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.