()
| 836 | |
| 837 | #[test] |
| 838 | fn test_atom_count_edit() { |
| 839 | let graph_op: GraphOp<Hash> = GraphOp::Edit { |
| 840 | change: Atom::Insertion(test_new_vertex()), |
| 841 | local: Local::new("file.rs", 1), |
| 842 | encoding: None, |
| 843 | }; |
| 844 | |
| 845 | assert_eq!(graph_op.atom_count(), 1); |
| 846 | assert_eq!(graph_op.atoms().count(), 1); |
| 847 | } |
| 848 | |
| 849 | #[test] |
| 850 | fn test_atom_count_replacement() { |
nothing calls this directly
no test coverage detected