private bool TestResult(HandCard handCard, CardLevel level, int odds, int onesDigit = HandCardResult.INVALID_VALUE)
        {
            HandCardResult result = CardLevelJudgement.GetHandCardResult(handCard);

            if ((result.Level == level) &&
                (result.Odds == odds))
            {
                if ((onesDigit == HandCardResult.INVALID_VALUE) || (result.OnesDigit == onesDigit))
                {
                    return(true);
                }
            }
            Console.WriteLine("计算结果 level:{0} odd:{1} onesDigit:{2}  正确结果 level:{3} odd:{4} onesDigit:{5}",
                              result.Level, result.Odds, result.OnesDigit, level, odds, onesDigit);
            return(false);
        }
 private bool TestJudge(HandCardResult a, HandCardResult b, Judger.Result result, int odds = 0)
 {
     if (result == Judger.Judge(a, b))
     {
         if (result == Judger.Result.draw)
         {
             return(true);
         }
         else
         {
             if (odds == Logger.GetOdds(result, a, b))
             {
                 return(true);
             }
         }
     }
     Console.WriteLine(a);
     Console.WriteLine(b);
     Console.WriteLine(result);
     Console.WriteLine(odds);
     return(false);
 }