| 146 | } |
| 147 | |
| 148 | static bool gmt_edge_eq(const cbm_edge_info_t *a, const cbm_edge_info_t *b) { |
| 149 | return gmt_str_eq(a->from_name, b->from_name) && gmt_str_eq(a->to_name, b->to_name) && |
| 150 | gmt_str_eq(a->type, b->type) && a->confidence == b->confidence && |
| 151 | a->source_id == b->source_id && a->target_id == b->target_id && |
| 152 | gmt_str_eq(a->properties_json, b->properties_json); |
| 153 | } |
| 154 | |
| 155 | static bool gmt_traverse_eq(const cbm_traverse_result_t *a, const cbm_traverse_result_t *b) { |
| 156 | if (!gmt_node_eq(&a->root, &b->root) || a->visited_count != b->visited_count || |
no test coverage detected