()
| 487 | |
| 488 | #[test] |
| 489 | fn test_atom_is_new_vertex() { |
| 490 | let atom: Atom<Hash> = Atom::Insertion(Insertion { |
| 491 | predecessors: vec![], |
| 492 | successors: vec![], |
| 493 | flag: EdgeFlags::BLOCK, |
| 494 | start: ChangePosition::new(0), |
| 495 | end: ChangePosition::new(10), |
| 496 | inode: test_hash_position(0), |
| 497 | }); |
| 498 | |
| 499 | assert!(atom.is_new_vertex()); |
| 500 | assert!(!atom.is_edge_map()); |
| 501 | } |
| 502 | |
| 503 | #[test] |
| 504 | fn test_atom_is_edge_map() { |
nothing calls this directly
no test coverage detected