| 137 | } |
| 138 | |
| 139 | static bool pl_edge(const char *db, const char *src, const char *tgt) { |
| 140 | char props[512]; |
| 141 | int n = 0; |
| 142 | dm_edge(db, src, tgt, props, sizeof(props), &n); |
| 143 | if (n != 1 || !strstr(props, "\"tier\":\"exact\"")) { |
| 144 | printf(" edge %s -> %s: %d found %s\n", src, tgt, n, props); |
| 145 | return false; |
| 146 | } |
| 147 | return true; |
| 148 | } |
| 149 | |
| 150 | static bool pl_row(const char *db, const char *rel, const char *raw, const char *reason) { |
| 151 | char got[64]; |
no test coverage detected