()
| 847 | |
| 848 | #[test] |
| 849 | fn test_atom_count_replacement() { |
| 850 | let graph_op: GraphOp<Hash> = GraphOp::Replacement { |
| 851 | change: test_edge_map(), |
| 852 | replacement: test_new_vertex(), |
| 853 | local: Local::new("file.rs", 1), |
| 854 | encoding: None, |
| 855 | }; |
| 856 | |
| 857 | assert_eq!(graph_op.atom_count(), 2); |
| 858 | assert_eq!(graph_op.atoms().count(), 2); |
| 859 | } |
| 860 | |
| 861 | // Serialization Tests |
| 862 |
nothing calls this directly
no test coverage detected