()
| 4 | |
| 5 | #[test] |
| 6 | fn all_feature_ids_are_registered() { |
| 7 | let features = features::all_features(); |
| 8 | for &id in FeatureId::ALL { |
| 9 | assert!( |
| 10 | features.iter().any(|feature| feature.id == id), |
| 11 | "FeatureId::{:?} is in ALL but not in all_features()", |
| 12 | id |
| 13 | ); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | #[test] |
| 18 | fn no_duplicate_features() { |
nothing calls this directly
no test coverage detected