summaryrefslogtreecommitdiff
path: root/testcases.h
blob: 9e1702aab5fc1d9e78939eaec4389d9883ba2ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stddef.h>

#include "sorters.h"

#define MIN_SIZE 10000
#define MAX_SIZE 10000000

extern int buffer[MAX_SIZE];

typedef void (*testinit)(size_t);

extern const struct testcase {
	const char *name;
	testinit init;
	cmpfun   cmp;
} testcases[];