()
| 544 | |
| 545 | #[test] |
| 546 | fn test_atom_from_new_vertex() { |
| 547 | let nv = Insertion { |
| 548 | predecessors: vec![], |
| 549 | successors: vec![], |
| 550 | flag: EdgeFlags::BLOCK, |
| 551 | start: ChangePosition::new(0), |
| 552 | end: ChangePosition::new(10), |
| 553 | inode: test_hash_position(0), |
| 554 | }; |
| 555 | let atom: Atom<Hash> = nv.into(); |
| 556 | assert!(atom.is_new_vertex()); |
| 557 | } |
| 558 | |
| 559 | #[test] |
| 560 | fn test_atom_from_edge_map() { |
nothing calls this directly
no test coverage detected