import a4
# Fill in the fields 
# Name: (put your name here)
# Student Number: 
# CDF account:

#  CSC104h Winter 2008 Assignment 4 
#  A series of tests to ensure the quality of A4

# Test 1) Test sort by rank
# this test takes an unsorted hand and sorts it by rank
# it prints the unsorted hand and then the hand that is sorted by rank
print "Test 1: Test Sort by rank"
x = ['Ad', 'Qc', 'Ks', 'Ah', '2d']
print "unsorted:",  x
print "sorted by Rank:", a4.sortRank(x)
print

# Test 2) Test sort by suit
# this test takes an unsorted hand and sorts it by suit
# it prints the unsorted hand and then the hand that is sorted by suit 
# (and then by rank within suit.)
print "Test 2: Test Sort by suit - clubs, hearts, spades then diamonds"
x = ['Ad', 'Qc', 'Ks', 'Ah', '2d']
print "unsorted:",  x
print "sorted by suit:", a4.sortSuit(x)
print

# Now ... add your own tests below:
#____________________________________________________________
