()
| 310 | |
| 311 | #[test] |
| 312 | fn fmt_debug() { |
| 313 | let mut s = EntitySet::new(); |
| 314 | s.insert(E(2)); |
| 315 | s.insert(E(4)); |
| 316 | // The `Debug` formatting should only show the elements within the set. |
| 317 | assert_eq!(format!("{s:?}"), "{E(2), E(4)}"); |
| 318 | } |
| 319 | } |