2 * Copyright (C) 1995-2005, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: tstmatchstr.c,v 1.3 2005-01-15 19:47:15 adam Exp $
11 #include <yaz/yaz-iconv.h>
35 int main (int argc, char **argv)
38 for (i = 0; comp_strings[i].s1; i++)
40 int got = yaz_matchstr(comp_strings[i].s1,comp_strings[i].s2);
45 if (got != comp_strings[i].res)
47 printf ("tststr %d got=%d res=%d\n", i,
48 got, comp_strings[i].res);