MCPcopy Index your code
hub / github.com/RizeCrime/linuxblaster_control / no_duplicate_features

Function no_duplicate_features

src/tests.rs:18–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17 #[test]
18 fn no_duplicate_features() {
19 let features = features::all_features();
20 for (index, feature) in features.iter().enumerate() {
21 for other in features.iter().skip(index + 1) {
22 assert_ne!(
23 feature.id, other.id,
24 "Duplicate feature registration: {:?}",
25 feature.id
26 );
27 }
28 }
29 }
30
31 #[test]
32 fn dependencies_reference_valid_feature_ids() {

Callers

nothing calls this directly

Calls 1

all_featuresFunction · 0.85

Tested by

no test coverage detected