| 139 | } |
| 140 | |
| 141 | static bool gmt_node_eq(const cbm_node_t *a, const cbm_node_t *b) { |
| 142 | return a->id == b->id && gmt_str_eq(a->project, b->project) && gmt_str_eq(a->label, b->label) && |
| 143 | gmt_str_eq(a->name, b->name) && gmt_str_eq(a->qualified_name, b->qualified_name) && |
| 144 | gmt_str_eq(a->file_path, b->file_path) && a->start_line == b->start_line && |
| 145 | a->end_line == b->end_line && gmt_str_eq(a->properties_json, b->properties_json); |
| 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) && |
no test coverage detected