X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fsort%2Fsort1.c;fp=test%2Fsort%2Fsort1.c;h=ea7603bdbbea649b28a8d3fcc35ae45864438c04;hp=1aa46eccc4bb9aa27d07030b7e4acd8170096af0;hb=b8b19cd5ced95c850cf66f0ce306161ff78f490e;hpb=fe9c1bf692a3a1f8dffa5cd98a9f1e99a3abc604 diff --git a/test/sort/sort1.c b/test/sort/sort1.c index 1aa46ec..ea7603b 100644 --- a/test/sort/sort1.c +++ b/test/sort/sort1.c @@ -1,4 +1,4 @@ -/* $Id: sort1.c,v 1.10 2006-08-14 10:40:30 adam Exp $ +/* $Id: sort1.c,v 1.11 2006-09-20 10:51:25 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -48,18 +48,21 @@ static void tst(int argc, char **argv) ids[2] = 4; ids[3] = 5; YAZ_CHECK(tl_sort(zh, "@or @attr 1=4 computer @attr 7=1 @attr 1=30 0", 4, ids)); + YAZ_CHECK(tl_sort(zh, "@or @attr 1=4 computer @attr 7=1 @attr 1=Date 0", 4, ids)); ids[0] = 5; ids[1] = 4; ids[2] = 2; ids[3] = 3; YAZ_CHECK(tl_sort(zh, "@or @attr 1=4 computer @attr 7=1 @attr 1=1021 0", 4, ids)); + YAZ_CHECK(tl_sort(zh, "@or @attr 1=4 computer @attr 7=1 @attr 1=Bib-Level 0", 4, ids)); ids[0] = 2; ids[1] = 5; ids[2] = 4; ids[3] = 3; YAZ_CHECK(tl_sort(zh, "@or @attr 1=4 computer @attr 7=1 @attr 1=1021 @attr 4=109 0", 4, ids)); + YAZ_CHECK(tl_sort(zh, "@or @attr 1=4 computer @attr 7=1 @attr 1=Bib-Level @attr 4=109 0", 4, ids)); YAZ_CHECK(tl_close_down(zh, zs)); }