#ifndef _CALLCOLLTST
#define _CALLCOLLTST
#include "unicode/utypes.h"
#include "unicode/ucoleitr.h"
#if !UCONFIG_NO_COLLATION
#include "cintltst.h"
#define RULE_BUFFER_LEN 8192
struct OrderAndOffset
{
int32_t order;
int32_t offset;
};
typedef struct OrderAndOffset OrderAndOffset;
void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
void backAndForth(UCollationElements *iter);
OrderAndOffset* getOrders(UCollationElements *iter, int32_t *orderLength);
void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result);
void genericOrderingTest(UCollator *coll, const char * const s[], uint32_t size);
void genericLocaleStarter(const char *locale, const char * const s[], uint32_t size);
void genericLocaleStarterWithResult(const char *locale, const char * const s[], uint32_t size, UCollationResult result);
void genericLocaleStarterWithOptions(const char *locale, const char * const s[], uint32_t size, const UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize);
void genericLocaleStarterWithOptionsAndResult(const char *locale, const char * const s[], uint32_t size, const UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result);
void genericRulesStarterWithResult(const char *rules, const char * const s[], uint32_t size, UCollationResult result);
void genericRulesStarter(const char *rules, const char * const s[], uint32_t size);
void genericRulesStarterWithOptionsAndResult(const char *rules, const char * const s[], uint32_t size, const UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result);
UBool hasCollationElements(const char *locName);
#endif
#endif