()
| 560 | |
| 561 | #[test] |
| 562 | fn test_vertex_is_empty() { |
| 563 | use crate::types::GraphNode; |
| 564 | |
| 565 | let empty_vertex = GraphNode::new( |
| 566 | NodeId::new(1), |
| 567 | ChangePosition::new(10), |
| 568 | ChangePosition::new(10), |
| 569 | ); |
| 570 | let non_empty = GraphNode::new( |
| 571 | NodeId::new(1), |
| 572 | ChangePosition::new(10), |
| 573 | ChangePosition::new(20), |
| 574 | ); |
| 575 | |
| 576 | assert!(empty_vertex.is_empty()); |
| 577 | assert!(!non_empty.is_empty()); |
| 578 | } |
| 579 | |
| 580 | // Edge Flags Tests |
| 581 |
nothing calls this directly
no outgoing calls
no test coverage detected