Skip to content

Commit

Permalink
Merge pull request #163 from epoberezkin/boundary-point
Browse files Browse the repository at this point in the history
draft-04: added maximum/minimum tests for boundary point
  • Loading branch information
Evgeny Poberezkin authored Mar 1, 2017
2 parents ae72865 + 9d998bb commit 20d706c
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 20d706c

Please sign in to comment.