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

Function test_layer_selection_graph_only

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

Source from the content-addressed store, hash-verified

74
75#[test]
76fn test_layer_selection_graph_only() {
77 let sel = LayerSelection::graph_only();
78 assert!(sel.includes(Layer::Graph));
79 assert!(!sel.includes(Layer::Semantic));
80 assert!(!sel.includes(Layer::Content));
81 assert_eq!(sel.to_query_value(), "graph");
82}
83
84#[test]
85fn test_layer_selection_custom() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected