π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Preserve model namespace uniqueness coverage
Manav Rathic788373dd9f7
diff --git a/rust/crates/ml/src/models.rs b/rust/crates/ml/src/models.rsindex ca613edd95..704ad53308 100644--- a/rust/crates/ml/src/models.rs+++ b/rust/crates/ml/src/models.rs@@ -178,6 +178,14 @@ mod tests {}}+ #[test]+ fn model_namespaces_are_unique() {+ let mut namespaces = HashSet::new();+ for model in Model::ALL {+ assert!(namespaces.insert(model.namespace()));+ }+ }+#[test]fn model_paths_are_addressable_by_model() {let mut paths = ModelPaths {