()
| 292 | |
| 293 | #[test] |
| 294 | fn build_peer_groups_basic() { |
| 295 | let vals = num_vals(&[1, 1, 2, 3, 3]); |
| 296 | let pg = build_peer_groups(&vals); |
| 297 | assert_eq!(pg, vec![0, 0, 1, 2, 2]); |
| 298 | } |
| 299 | |
| 300 | #[test] |
| 301 | fn groups_1_preceding_1_following() { |
nothing calls this directly
no test coverage detected