()
| 845 | |
| 846 | #[test] |
| 847 | fn test_invalid_branch_state() { |
| 848 | let branch_id = BranchId::new(NodeId::new(1), 0); |
| 849 | let err = ApplyError::invalid_branch_state(branch_id, "alive", "restore"); |
| 850 | assert!(err.is_invalid_state()); |
| 851 | } |
| 852 | |
| 853 | #[test] |
| 854 | fn test_invalid_leaf_state() { |
nothing calls this directly
no outgoing calls
no test coverage detected