()
| 1260 | } |
| 1261 | |
| 1262 | fn test_new_vertex() -> Insertion<Option<Hash>> { |
| 1263 | Insertion { |
| 1264 | predecessors: vec![], |
| 1265 | successors: vec![], |
| 1266 | flag: EdgeFlags::BLOCK, |
| 1267 | start: ChangePosition::new(0), |
| 1268 | end: ChangePosition::new(10), |
| 1269 | inode: test_hash_position(0), |
| 1270 | } |
| 1271 | } |
| 1272 | |
| 1273 | fn sha1(byte: u8) -> GitObjectId { |
| 1274 | GitObjectId::new(GitHashAlgorithm::Sha1, vec![byte; 20]).unwrap() |
no test coverage detected