-
Notifications
You must be signed in to change notification settings - Fork 4
/
test.h
47 lines (39 loc) · 1.18 KB
/
test.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* =====================================================================
*
* Filename: test.h
*
* Description: Test suite for ccsrch
*
* Version: 0.0.1
* Created: 26/08/12 22:24:56
*
* Author: Tony Lee (Roganartu), [email protected]
* Contributors: Ashley Kurkowski <[email protected]>
* Jonathan Daniels <[email protected]>
* Justin Vu <[email protected]>
* Nils Albjerk <[email protected]>
* Dan Benveniste <[email protected]>
* Organisation: University of Queensland - COMS3000 Semester 2 2012
*
* =====================================================================
*/
#ifndef TEST_H
#define TEST_H
/* Prevent ccsrch.c from defining main */
#define TEST_MAIN
#include "mods.h"
#include "ccsrch.h"
/* Private global variable declarations */
#define MCARD_16 5
#define JCB_16 7
#define AMEX_15 2
#define ENROUTE_15 2
#define JCB_15 4
#define DINERS_14 16
/* Private method declarations */
int main(int argc, char *argv[]);
void sanity_checks(FILE *output);
void initialize_card_arrs();
void run_test(FILE *output, file_type type);
#endif