()
| 177 | |
| 178 | #[test] |
| 179 | fn test_edge_creation() { |
| 180 | let edge = make_edge(EdgeFlags::BLOCK, 2, 5, 1); |
| 181 | |
| 182 | assert_eq!(edge.flag(), EdgeFlags::BLOCK); |
| 183 | assert_eq!(edge.dest().change, NodeId::new(2)); |
| 184 | assert_eq!(edge.dest().pos, ChangePosition::new(5)); |
| 185 | assert_eq!(edge.introduced_by(), NodeId::new(1)); |
| 186 | } |
| 187 | |
| 188 | #[test] |
| 189 | fn test_edge_flags_combinations() { |
nothing calls this directly
no test coverage detected