Files
MapLibreParticleLab/metrics/integration/expression-tests/less_or_equal/number/test.json
2023-03-25 14:46:49 +01:00

19 lines
503 B
JSON

{
"expression": ["<=", ["number", ["get", "x"]], ["number", ["get", "y"]]],
"inputs": [
[{}, {"properties": {"x": 1, "y": 1}}],
[{}, {"properties": {"x": 1, "y": 2}}],
[{}, {"properties": {"x": 2, "y": 1}}]
],
"expected": {
"compiled": {
"result": "success",
"isFeatureConstant": false,
"isZoomConstant": true,
"type": "boolean"
},
"outputs": [true, true, false],
"serialized": ["<=", ["number", ["get", "x"]], ["number", ["get", "y"]]]
}
}