Helper: build a fingerprint hex string for a properties_json. */
| 550 | |
| 551 | /* Helper: build a fingerprint hex string for a properties_json. */ |
| 552 | static void make_fp_props(char *buf, int bufsize, const cbm_minhash_t *fp) { |
| 553 | char hex[CBM_MINHASH_HEX_LEN + 1]; |
| 554 | cbm_minhash_to_hex(fp, hex, sizeof(hex)); |
| 555 | snprintf(buf, bufsize, "{\"fp\":\"%s\"}", hex); |
| 556 | } |
| 557 | |
| 558 | TEST(pass_similarity_creates_edges) { |
| 559 | cbm_minhash_t fp; |
no test coverage detected