2 * Copyright (c) 2002-2003, Index Data
3 * See the file LICENSE for details.
5 * $Id: tstmatchstr.c,v 1.2 2003-06-22 11:47:18 adam Exp $
10 #include <yaz/yaz-iconv.h>
34 int main (int argc, char **argv)
37 for (i = 0; comp_strings[i].s1; i++)
39 int got = yaz_matchstr(comp_strings[i].s1,comp_strings[i].s2);
44 if (got != comp_strings[i].res)
46 printf ("tststr %d got=%d res=%d\n", i,
47 got, comp_strings[i].res);