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

Function test_layer_selection_all

atomic-remote/src/streaming/tests.rs:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42#[test]
43fn test_layer_selection_all() {
44 let sel = LayerSelection::all();
45 assert!(sel.includes(Layer::Graph));
46 assert!(sel.includes(Layer::Semantic));
47 assert!(sel.includes(Layer::Content));
48 assert!(sel.is_all());
49 assert!(!sel.is_empty());
50 assert_eq!(sel.len(), 3);
51 assert_eq!(sel.to_query_value(), "all");
52}
53
54#[test]
55fn test_layer_selection_thin_pull() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected