diff options
Diffstat (limited to 'third_party/python/jsonschema/json/tests/latest/exclusiveMinimum.json')
-rw-r--r-- | third_party/python/jsonschema/json/tests/latest/exclusiveMinimum.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/python/jsonschema/json/tests/latest/exclusiveMinimum.json b/third_party/python/jsonschema/json/tests/latest/exclusiveMinimum.json new file mode 100644 index 0000000000..b38d7ecec6 --- /dev/null +++ b/third_party/python/jsonschema/json/tests/latest/exclusiveMinimum.json @@ -0,0 +1,30 @@ +[ + { + "description": "exclusiveMinimum validation", + "schema": { + "exclusiveMinimum": 1.1 + }, + "tests": [ + { + "description": "above the exclusiveMinimum is valid", + "data": 1.2, + "valid": true + }, + { + "description": "boundary point is invalid", + "data": 1.1, + "valid": false + }, + { + "description": "below the exclusiveMinimum is invalid", + "data": 0.6, + "valid": false + }, + { + "description": "ignores non-numbers", + "data": "x", + "valid": true + } + ] + } +] |