[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tyndur-devel] [PATCH 2/2] tests: Test für qsort
On 25.09.2011 22:54, Kevin Wolf wrote:
> diff --git a/tests/libc/qsort.c b/tests/libc/qsort.c
> new file mode 100644
> index 0000000..2bcad55
> --- /dev/null
> +++ b/tests/libc/qsort.c
[…]
> + int num;
> + int* data;
> + int* sorted;
> +};
> +
> +struct test_data test_data[] = {
static wäre hier noch schön; andere wollen ihre test daten evtl. auch
test_data nenen ;)
> + {
> + .num = 0,
> + .data = (int[]) {},
> + .sorted = (int[]) {},
> + },
> + {
[…]
--
MNemo