()
| 1117 | |
| 1118 | #[test] |
| 1119 | fn traverse_commits_with_offset() { |
| 1120 | let mut log = mem_log::<[u8; 32]>(32); |
| 1121 | fill_log(&mut log, 10, repeat(1)); |
| 1122 | |
| 1123 | for offset in 0..10 { |
| 1124 | for commit in log.commits_from(offset) { |
| 1125 | let commit = commit.unwrap(); |
| 1126 | assert!(commit.min_tx_offset >= offset); |
| 1127 | } |
| 1128 | } |
| 1129 | assert_eq!(0, log.commits_from(10).count()); |
| 1130 | } |
| 1131 | |
| 1132 | #[test] |
| 1133 | fn fold_transactions_with_offset() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…