()
| 58 | |
| 59 | #[test] |
| 60 | fn dependencies_and_dependents_are_consistent() { |
| 61 | for &id in FeatureId::ALL { |
| 62 | for &dependency in id.dependencies() { |
| 63 | assert!( |
| 64 | dependency.dependents().contains(&id), |
| 65 | "{:?} lists {:?} as a dependency, but {:?} does not list {:?} as a dependent", |
| 66 | id, |
| 67 | dependency, |
| 68 | dependency, |
| 69 | id |
| 70 | ); |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | #[test] |
| 76 | fn no_feature_depends_on_itself() { |
nothing calls this directly
no test coverage detected