()
| 687 | |
| 688 | #[test] |
| 689 | fn test_leaf_op_restore() { |
| 690 | let leaf_id = LeafId::new(NodeId::new(1), 0); |
| 691 | let op = LeafOp::Restore { leaf: leaf_id }; |
| 692 | assert!(op.is_restore()); |
| 693 | assert!(!op.is_delete()); |
| 694 | assert_eq!(op.leaf_id(), Some(leaf_id)); |
| 695 | assert_eq!(op.op_type(), "restore"); |
| 696 | } |
| 697 | |
| 698 | #[test] |
| 699 | fn test_leaf_op_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected