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

Function test_layer_selection_thin_pull

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

Source from the content-addressed store, hash-verified

53
54#[test]
55fn test_layer_selection_thin_pull() {
56 let sel = LayerSelection::thin_pull();
57 assert!(sel.includes(Layer::Graph));
58 assert!(!sel.includes(Layer::Semantic));
59 assert!(sel.includes(Layer::Content));
60 assert!(!sel.is_all());
61 assert_eq!(sel.len(), 2);
62 assert_eq!(sel.to_query_value(), "graph,content");
63}
64
65#[test]
66fn test_layer_selection_thin_review() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected