()
| 761 | |
| 762 | #[test] |
| 763 | fn test_unrecord_outcome_new() { |
| 764 | let hash = Hash::of(b"test"); |
| 765 | let state = Merkle::of(b"state"); |
| 766 | let outcome = UnrecordOutcome::new(vec![hash], state, 10); |
| 767 | |
| 768 | assert_eq!(outcome.count(), 1); |
| 769 | assert!(outcome.has_changes()); |
| 770 | assert_eq!(outcome.new_count, 10); |
| 771 | assert!(!outcome.was_dry_run); |
| 772 | } |
| 773 | |
| 774 | #[test] |
| 775 | fn test_unrecord_outcome_empty() { |
nothing calls this directly
no outgoing calls
no test coverage detected