()
| 596 | |
| 597 | #[test] |
| 598 | fn test_trunk_op_delete() { |
| 599 | let trunk_id = TrunkId::new(NodeId::new(1), 0); |
| 600 | let op = TrunkOp::Delete { trunk: trunk_id }; |
| 601 | assert!(op.is_delete()); |
| 602 | assert!(!op.is_create()); |
| 603 | assert_eq!(op.trunk_id(), Some(trunk_id)); |
| 604 | assert_eq!(op.op_type(), "delete"); |
| 605 | } |
| 606 | |
| 607 | #[test] |
| 608 | fn test_trunk_op_move() { |
nothing calls this directly
no outgoing calls
no test coverage detected