()
| 549 | // ======================================================================== |
| 550 | |
| 551 | fn move_identity() -> (Inode, Position<NodeId>, PathClaimId, TrunkId) { |
| 552 | let change = NodeId::new(7); |
| 553 | let position = Position::new(change, ChangePosition::new(12)); |
| 554 | let claim = PathClaimId::new( |
| 555 | position, |
| 556 | GraphNode::new(change, ChangePosition::new(0), ChangePosition::new(0)), |
| 557 | GraphNode::new(change, ChangePosition::new(0), ChangePosition::new(6)), |
| 558 | change, |
| 559 | ); |
| 560 | (Inode::new(42), position, claim, TrunkId::new(change, 0)) |
| 561 | } |
| 562 | |
| 563 | #[test] |
| 564 | fn test_record_moved_file_pure_move_preserves_identity_and_semantic_move() { |
no outgoing calls
no test coverage detected