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

Function test_zombie_conflict_is_resolved

atomic-core/src/apply/conflict.rs:533–545  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531
532 #[test]
533 fn test_zombie_conflict_is_resolved() {
534 let node = make_vertex(42, 0, 10);
535 let zombie = ZombieConflict::new(node);
536
537 // No connections means resolved
538 assert!(zombie.is_resolved());
539
540 let mut zombie2 = ZombieConflict::new(node);
541 zombie2.add_connected_by(NodeId::new(100));
542
543 // Has connections means not resolved
544 assert!(!zombie2.is_resolved());
545 }
546
547 // Missing Context Tests
548

Callers

nothing calls this directly

Calls 2

add_connected_byMethod · 0.80
make_vertexFunction · 0.70

Tested by

no test coverage detected