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

Function test_layer_selection_custom

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

Source from the content-addressed store, hash-verified

83
84#[test]
85fn test_layer_selection_custom() {
86 let sel = LayerSelection::custom([Layer::Semantic]);
87 assert!(!sel.includes(Layer::Graph));
88 assert!(sel.includes(Layer::Semantic));
89 assert!(!sel.includes(Layer::Content));
90 assert_eq!(sel.to_query_value(), "semantic");
91}
92
93#[test]
94fn test_layer_selection_from_query_all() {

Callers

nothing calls this directly

Calls 1

customFunction · 0.85

Tested by

no test coverage detected