summaryrefslogtreecommitdiff
path: root/json/tests/draft2019-09/optional/float-overflow.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2019-09/optional/float-overflow.json')
-rw-r--r--json/tests/draft2019-09/optional/float-overflow.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/json/tests/draft2019-09/optional/float-overflow.json b/json/tests/draft2019-09/optional/float-overflow.json
new file mode 100644
index 0000000..52ff982
--- /dev/null
+++ b/json/tests/draft2019-09/optional/float-overflow.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "all integers are multiples of 0.5, if overflow is handled",
+ "schema": {"type": "integer", "multipleOf": 0.5},
+ "tests": [
+ {
+ "description": "valid if optional overflow handling is implemented",
+ "data": 1e308,
+ "valid": true
+ }
+ ]
+ }
+]