Skip to content

Commit

Permalink
draft-04: added maximum/minimum tests for boundary point
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Feb 15, 2017
1 parent b8f51ab commit 9d998bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/draft4/maximum.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
"data": 2.6,
"valid": true
},
{
"description": "boundary point is valid",
"data": 3.0,
"valid": true
},
{
"description": "above the maximum is invalid",
"data": 3.5,
Expand Down
5 changes: 5 additions & 0 deletions tests/draft4/minimum.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
"data": 2.6,
"valid": true
},
{
"description": "boundary point is valid",
"data": 1.1,
"valid": true
},
{
"description": "below the minimum is invalid",
"data": 0.6,
Expand Down

0 comments on commit 9d998bb

Please sign in to comment.