json-strict
Version:
Json Specification & Validation & Document Generation
33 lines (30 loc) • 554 B
text/coffeescript
{Nat} = require '../../src/'
matchCases =
'doesnt match undefined/null/NaN': [
[]
[]
[]
]
'doesnt match true/false': [
[]
[]
]
'doesnt match any other types': [
[]
[]
[]
[]
[], no]
]
'doesnt match negatives': [
[]
[]
[]
]
'matches positive integers': [
[]
[]
[]
[]
]
module.exports = {matchCases}