blob: acb409b910778e743cb88c2b29f9a9c6758159ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <stddef.h>
#include "sorters.h"
#define MIN_SIZE 10000
#define MAX_SIZE 10000000
extern int buffer[MAX_SIZE];
void assert_sorted(size_t size, cmpfun cmp);
typedef void (*testinit)(size_t);
extern const struct testcase {
const char *name;
testinit init;
cmpfun cmp;
} testcases[];
|