# =========================================================
# test if all of the card dictionary have
# image files that exists
# =========================================================
import os
import card_values as cv
print('CardValue is {} with {} elements'.format(type(cv.cardsvalues),
len(cv.cardsvalues)))
cardDir = './cards/'
keys = cv.cardsvalues.keys()
for k in sorted(keys):
if not os.path.isfile(cardDir+k):
print('No file: {}'.format(k))
#else:
# print('file : {} value: {}'.format(k,cv.cardsvalues[k]))