summaryrefslogtreecommitdiff
path: root/tests/draft-next/optional/float-overflow.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/draft-next/optional/float-overflow.json')
-rw-r--r--tests/draft-next/optional/float-overflow.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/draft-next/optional/float-overflow.json b/tests/draft-next/optional/float-overflow.json
new file mode 100644
index 0000000..52ff982
--- /dev/null
+++ b/tests/draft-next/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
+ }
+ ]
+ }
+]