MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_directory_flags_combinations

Function test_directory_flags_combinations

atomic-core/src/pristine/tables.rs:1358–1373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1356
1357 #[test]
1358 fn test_directory_flags_combinations() {
1359 use super::directory_flags::*;
1360
1361 // Test all possible flag combinations
1362 assert!(!is_explicit(0b00));
1363 assert!(!is_empty(0b00));
1364
1365 assert!(is_explicit(0b01));
1366 assert!(!is_empty(0b01));
1367
1368 assert!(!is_explicit(0b10));
1369 assert!(is_empty(0b10));
1370
1371 assert!(is_explicit(0b11));
1372 assert!(is_empty(0b11));
1373 }
1374
1375 // KG Edge Key / FTS Tests
1376

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected