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

Function test_zombie_new

atomic-core/src/apply/workspace.rs:842–852  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

840
841 #[test]
842 fn test_zombie_new() {
843 let node = GraphNode::new(
844 NodeId::new(1),
845 ChangePosition::new(0),
846 ChangePosition::new(10),
847 );
848 let zombie = Zombie::new(node);
849
850 assert_eq!(zombie.node, node);
851 assert!(zombie.inode.is_none());
852 }
853
854 #[test]
855 fn test_zombie_with_inode() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected