/***
 * This is a mini testing program for the compare_two_cards function.  It calls
 * compare_two_cards with the two of clubs and ace of spades in different
 * orders, and checks to see if the function is working correctly.
 *
 * Before you run your functions with the full-blown testing program in
 * cards_test.c, you can write smaller testing programs like this one.  This
 * will make it much easier to spot where your problems are as you develop.
 */
#include <stdio.h>
#include "cards.h"

int main() {
    printf("Compare 2C with AS, expect 0: %d\n",
	compare_two_cards("2C","AS"));
    printf("Compare AS with 2C, expect 1: %d\n",
	compare_two_cards("AS"," 2C"));
    printf("Compare 2C with 2C, expect 0: %d\n",
	compare_two_cards("2C"," 2C"));
    return 0;
}