()
| 197 | |
| 198 | #[test] |
| 199 | fn test_batch_validity() { |
| 200 | assert!(BatchValidity::Accept.is_accept()); |
| 201 | assert!(BatchValidity::Drop(BatchDropReason::ParentHashMismatch).is_drop()); |
| 202 | assert!(BatchValidity::Past.is_outdated()); |
| 203 | assert!(BatchValidity::Future.is_future()); |
| 204 | } |
| 205 | |
| 206 | #[test] |
| 207 | fn test_drop_reason() { |
nothing calls this directly
no outgoing calls
no test coverage detected