()
| 1131 | |
| 1132 | #[test] |
| 1133 | fn test_atom_count_replacement() { |
| 1134 | let graph_op: GraphOp<Hash> = GraphOp::Replacement { |
| 1135 | change: test_edge_map(), |
| 1136 | replacement: test_new_vertex(), |
| 1137 | local: Local::new("file.rs", 1), |
| 1138 | encoding: None, |
| 1139 | }; |
| 1140 | |
| 1141 | assert_eq!(graph_op.atom_count(), 2); |
| 1142 | assert_eq!(graph_op.atoms().count(), 2); |
| 1143 | } |
| 1144 | |
| 1145 | // Serialization Tests |
| 1146 |
nothing calls this directly
no test coverage detected