示例#1
0
int main() {
	int n, randCard;
	int k[27] = {curse, estate, duchy, province, copper, silver, gold,
				adventurer, council_room, feast, gardens, mine, remodel,
				smithy, village, baron, great_hall, minion, steward, tribute,
				ambassador, cutpurse, embargo, outpost, salvager, sea_hag, treasure_map};
		   
	SelectStream(2);
    PutSeed(3);
	
	for (n = 0; n < 2000; n++){
		printf ("--------------------------\n");
      printf ("Running test series %d ...\n", n+1);
		randCard = floor(Random() * 27); //Selects a random card from the list of cards
		testGetCost(k[randCard]);
		printf ("--------------------------\n\n");
	}
    
	
	return 0;
}
示例#2
0
int main(int argc, char *argv[])
{
	testGetCost();
    return 0;
}