MCPcopy Create free account
hub / github.com/JuliaStrings/utf8proc / check

Function check

test/tests.c:7–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5size_t lineno = 0;
6
7void check(int cond, const char *format, ...)
8{
9 if (!cond) {
10 va_list args;
11 if (lineno)
12 fprintf(stderr, "FAILED at line %zd: ", lineno);
13 else
14 fprintf(stderr, "FAILED: ");
15 va_start(args, format);
16 vfprintf(stderr, format, args);
17 va_end(args);
18 fprintf(stderr, "\n");
19 exit(1);
20 }
21}
22
23size_t skipspaces(const unsigned char *buf, size_t i)
24{

Callers 14

encodeFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
read_rangeFunction · 0.85
test_iscaseFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
customFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected