YAZ_CHECK(compare(ct, "@not a b", "a AND NOT b"));
YAZ_CHECK(compare(ct, "@and @or a b c", "(a OR b) AND c"));
YAZ_CHECK(compare(ct, "@and a b", "a AND b"));
YAZ_CHECK(compare(ct, "@or a b", "a OR b"));
YAZ_CHECK(compare(ct, "@attr 1=field abc", "field:abc"));
YAZ_CHECK(compare(ct, "@not a b", "a AND NOT b"));
YAZ_CHECK(compare(ct, "@and @or a b c", "(a OR b) AND c"));
YAZ_CHECK(compare(ct, "@and a b", "a AND b"));
YAZ_CHECK(compare(ct, "@or a b", "a OR b"));
YAZ_CHECK(compare(ct, "@attr 1=field abc", "field:abc"));