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

Function test_branch_op_insert_after

atomic-core/src/crdt/branch.rs:666–673  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

664
665 #[test]
666 fn test_branch_op_insert_after() {
667 let after_id = BranchId::new(NodeId::new(1), 5);
668 let op = BranchOp::Insert {
669 after: Some(after_id),
670 content: vec![],
671 };
672 assert_eq!(op.insert_after(), Some(Some(after_id)));
673 }
674
675 #[test]
676 fn test_branch_op_delete() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected