# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. description: "simple expression tests" section: - name: "valid" tests: - name: "true" input: i: value: 21 j: value: 42 a: value: false output: value: true - name: "false" input: i: value: 22 j: value: 42 a: value: false output: value: false - name: "true a" input: a: value: true output: value: true - name: "unknown" tests: - name: "unknown i" input: j: value: 42 a: value: false output: unknown_set: - 2 - name: "unknown a and j" input: i: value: 21 output: unknown_set: - 1 - 5 - name: "unknown a and i" input: j: value: 42 output: unknown_set: - 1 - 2