()
| 1134 | |
| 1135 | #[test] |
| 1136 | fn test_atom_count_edit() { |
| 1137 | let graph_op: GraphOp<Hash> = GraphOp::Edit { |
| 1138 | change: Atom::Insertion(test_new_vertex()), |
| 1139 | local: Local::new("file.rs", 1), |
| 1140 | encoding: None, |
| 1141 | }; |
| 1142 | |
| 1143 | assert_eq!(graph_op.atom_count(), 1); |
| 1144 | assert_eq!(graph_op.atoms().count(), 1); |
| 1145 | } |
| 1146 | |
| 1147 | #[test] |
| 1148 | fn test_atom_count_replacement() { |
nothing calls this directly
no test coverage detected