()
| 693 | |
| 694 | #[test] |
| 695 | fn test_alive_vertex_clone() { |
| 696 | let v = GraphNode::new( |
| 697 | NodeId::new(1), |
| 698 | ChangePosition::new(0), |
| 699 | ChangePosition::new(100), |
| 700 | ); |
| 701 | let mut alive = AliveVertex::new(v); |
| 702 | alive.mark_visited(); |
| 703 | alive.scc = 5; |
| 704 | |
| 705 | let cloned = alive.clone(); |
| 706 | assert!(cloned.is_visited()); |
| 707 | assert_eq!(cloned.scc, 5); |
| 708 | } |
| 709 | |
| 710 | #[test] |
| 711 | fn test_alive_vertex_debug() { |
nothing calls this directly
no test coverage detected