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