MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_edge_flags_parent

Function test_edge_flags_parent

atomic-core/src/apply/insertion.rs:526–532  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

524
525 #[test]
526 fn test_edge_flags_parent() {
527 let base_flag = EdgeFlags::BLOCK;
528 let with_parent = base_flag | EdgeFlags::PARENT;
529
530 assert!(with_parent.contains(EdgeFlags::PARENT));
531 assert!(with_parent.contains(EdgeFlags::BLOCK));
532 }
533
534 #[test]
535 fn test_edge_flags_deleted() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected