| 192 | } |
| 193 | |
| 194 | static bool c_edge(const char *db, const char *src, const char *tgt) { |
| 195 | char props[512]; |
| 196 | int n = 0; |
| 197 | dm_edge(db, src, tgt, props, sizeof(props), &n); |
| 198 | if (n != 1) { |
| 199 | printf(" edge %s -> %s: %d found\n", src, tgt, n); |
| 200 | return false; |
| 201 | } |
| 202 | return true; |
| 203 | } |
| 204 | |
| 205 | static bool c_row(const char *db, const char *raw, const char *reason) { |
| 206 | char got[64]; |
no test coverage detected