()
| 327 | |
| 328 | #[test] |
| 329 | fn test_trunk_id_ordering() { |
| 330 | let a = TrunkId::new(NodeId::new(1), 0); |
| 331 | let b = TrunkId::new(NodeId::new(1), 1); |
| 332 | let c = TrunkId::new(NodeId::new(2), 0); |
| 333 | |
| 334 | assert!(a < b, "same change, lower idx comes first"); |
| 335 | assert!(b < c, "lower change_id comes first"); |
| 336 | } |
| 337 | |
| 338 | #[test] |
| 339 | fn test_trunk_id_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected