()
| 529 | |
| 530 | #[test] |
| 531 | fn test_atom_inode() { |
| 532 | let inode = test_hash_position(42); |
| 533 | let atom: Atom<Hash> = Atom::Insertion(Insertion { |
| 534 | predecessors: vec![], |
| 535 | successors: vec![], |
| 536 | flag: EdgeFlags::BLOCK, |
| 537 | start: ChangePosition::new(0), |
| 538 | end: ChangePosition::new(10), |
| 539 | inode, |
| 540 | }); |
| 541 | |
| 542 | assert_eq!(atom.inode().pos, inode.pos); |
| 543 | } |
| 544 | |
| 545 | #[test] |
| 546 | fn test_atom_from_new_vertex() { |
nothing calls this directly
no test coverage detected