def hand_card_count_test(): d = Deck() h = Hand() d.deal_cards(h, 8) if h.card_count() == 8: return True else: return False
def deck_deal_cards_test(): d = Deck() h = Hand() d.deal_cards(h, 10) if d.card_count() == 42 and h.card_count() == 10: return True else: return False
def hand_print_output(): print('------: Creating Hand') d = Deck() d.shuffle_deck() h = Hand() d.deal_cards(h, 8) print(Fore.CYAN + 'OUTPUT: ', end='') print(Style.RESET_ALL, end='') hand_iter(h)