From c30e46d66dd6691da3511bb55e4cbaf60ac71c8c Mon Sep 17 00:00:00 2001
From: Alvaro Cabrera <pateketrueke@gmail.com>
Date: Wed, 26 Nov 2014 20:43:50 -0600
Subject: [PATCH] Number testing

---
 spec/core/types/numbers.json | 57 ++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 spec/core/types/numbers.json

diff --git a/spec/core/types/numbers.json b/spec/core/types/numbers.json
new file mode 100644
index 00000000..3ce9d6ea
--- /dev/null
+++ b/spec/core/types/numbers.json
@@ -0,0 +1,57 @@
+[
+  {
+    "description": "generated number values",
+    "tests": [
+      {
+        "description": "should handle minimum",
+        "schema": {
+          "type": "number",
+          "minimum": 10
+        },
+        "valid": true
+      },
+      {
+        "description": "should handle maximum",
+        "schema": {
+          "type": "number",
+          "minimum": 20,
+          "maximum": 30
+        },
+        "valid": true
+      },
+      {
+        "description": "should handle multipleOf",
+        "schema": {
+          "type": "number",
+          "minimum": 40,
+          "maximum": 50,
+          "multipleOf": 6
+        },
+        "valid": true
+      },
+      {
+        "description": "should handle exclusiveMinimum",
+        "schema": {
+          "type": "number",
+          "minimum": 60,
+          "maximum": 70,
+          "multipleOf": 7,
+          "exclusiveMinimum": true
+        },
+        "valid": true
+      },
+      {
+        "description": "should handle exclusiveMaximum",
+        "schema": {
+          "type": "number",
+          "minimum": 80,
+          "maximum": 90,
+          "multipleOf": 8,
+          "exclusiveMinimum": true,
+          "exclusiveMaximum": true
+        },
+        "valid": true
+      }
+    ]
+  }
+]
-- 
GitLab