MCPcopy Create free account
hub / github.com/RizeCrime/linuxblaster_control / dependents_reference_valid_feature_ids

Function dependents_reference_valid_feature_ids

src/tests.rs:46–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45 #[test]
46 fn dependents_reference_valid_feature_ids() {
47 for &id in FeatureId::ALL {
48 for &dependent in id.dependents() {
49 assert!(
50 FeatureId::ALL.contains(&dependent),
51 "{:?} has dependent {:?} which is not in ALL",
52 id,
53 dependent
54 );
55 }
56 }
57 }
58
59 #[test]
60 fn dependencies_and_dependents_are_consistent() {

Callers

nothing calls this directly

Calls 1

dependentsMethod · 0.80

Tested by

no test coverage detected