aboutsummaryrefslogtreecommitdiff
path: root/test/100_gendata_cocsep/gendata_cocsep_tests.c
blob: 36dd5ceaa5c577654886f4dcd4c38825a51c5cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "../test.h"

size_t gendata_cocsep(void *);

int main(void) {
	uint32_t buf[300000], i;
	size_t result;

	result = gendata_cocsep(buf);

	printf("%zu\n", result);
	printf("Classes: %" PRIu32 "\n", buf[result/4-12]);
	printf("Max value: %" PRIu32 "\n", buf[result/4-11]);
	for (i = 0; i < 10; i++)
		printf("%" PRIu32 ": %" PRIu32 "\n", i, buf[result/4-10+i]);

	return 0;
}

Generated with cgit - Back to sebastiano.tronto.net