()
| 570 | |
| 571 | #[test] |
| 572 | fn test_graph_try_get_vertex() { |
| 573 | let mut graph = AliveGraph::new(); |
| 574 | graph.push_vertex(AliveVertex::DUMMY); |
| 575 | |
| 576 | assert!(graph.try_get_vertex(VertexId::DUMMY).is_some()); |
| 577 | assert!(graph.try_get_vertex(VertexId::new(100)).is_none()); |
| 578 | } |
| 579 | |
| 580 | #[test] |
| 581 | fn test_graph_index_operator() { |
nothing calls this directly
no test coverage detected