2 * Copyright (C) 1995-2005, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: tstmatchstr.c,v 1.4 2005-06-25 15:46:07 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);
58 * indent-tabs-mode: nil
60 * vim: shiftwidth=4 tabstop=8 expandtab