MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / field_assign_pairs

Function field_assign_pairs

codegraph-kernel/src/cfnptr.rs:1314–1319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1312 }
1313
1314 #[test]
1315 fn field_assign_pairs() {
1316 let f = facts("void g(void){ a->f = b->g; h.x = k.y; m == n; }");
1317 assert!(f.d_pairs.contains(&"f\0g".to_string()));
1318 assert!(f.d_pairs.contains(&"x\0y".to_string()));
1319 assert_eq!(f.d_pairs.len(), 2);
1320 }
1321
1322 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected