()
| 422 | |
| 423 | #[test] |
| 424 | fn test_apply_result_new() { |
| 425 | let state = Merkle::of(b"test state"); |
| 426 | let result = ApplyResult::new(state, 5, false); |
| 427 | |
| 428 | assert_eq!(result.new_state, state); |
| 429 | assert_eq!(result.sequence, 5); |
| 430 | assert!(!result.has_conflicts); |
| 431 | } |
| 432 | |
| 433 | #[test] |
| 434 | fn test_apply_result_with_conflicts() { |
nothing calls this directly
no outgoing calls
no test coverage detected