1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2009 Index Data
3 * See the file LICENSE for details.
12 static void tstwrbuf(void)
15 WRBUF wr = wrbuf_alloc();
25 for (step = 1; step < 65; step++)
31 for (j = 1; j<step; j++)
41 YAZ_CHECK(len == step * (step-1) / 2);
43 for (j = 1; j<step; j++)
46 YAZ_CHECK(cp[k] == i+1);
54 int main (int argc, char **argv)
56 YAZ_CHECK_INIT(argc, argv);
64 * c-file-style: "Stroustrup"
65 * indent-tabs-mode: nil
67 * vim: shiftwidth=4 tabstop=8 expandtab