-#include "rankingrecords.h"
-
-#define qry(zh,query,hits,string,score) \
- RankingQuery(__LINE__,(zh),(query),(hits),(string),(score))
-
-struct tst {
- char *schema;
- char *hit1;
- int score1;
- char *hit2;
- int score2;
- char *hit3;
- int score3;
-};
-
-
-
-struct tst tests[] = {
- {"ntc-atn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"ntc-ntn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"ntc-btn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"ntc-apn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"ntc-npn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"ntc-bpn", "first title", 1000, "first title", 1000, "third title", 826 },
-
- {"atc-atn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"atc-ntn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"atc-btn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"atc-apn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"atc-npn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"atc-bpn", "first title", 1000, "first title", 1000, "first title", 972 },
-
- {"npc-atn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"npc-ntn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"npc-btn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"npc-apn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"npc-npn", "first title", 1000, "first title", 1000, "third title", 826 },
- {"npc-bpn", "first title", 1000, "first title", 1000, "third title", 826 },
-
- {"apc-atn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"apc-ntn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"apc-btn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"apc-apn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"apc-npn", "first title", 1000, "first title", 1000, "first title", 972 },
- {"apc-bpn", "first title", 1000, "first title", 1000, "first title", 972 },
-
- {0,0,0,0,0,0,0},
-};
-
-int main(int argc, char **argv)