()
| 83 | |
| 84 | #[test] |
| 85 | fn 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] |
| 94 | fn test_layer_selection_from_query_all() { |