You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2019. It is now read-only.
jsonschema_test.go:56: schema.Validate failed to validate good data.
file: JSON-Schema-Test-Suite/tests/draft4/multipleOf.json
test case description: by small number
schema: {"multipleOf": 0.0001}
test instance description: 0.0075 is multiple of 0.0001
test data: 0.0075
result of schema.Validate:
expected: true
actual: false
actual validation errors: [{Value must be a multiple of 0.0001.}]
One thing I could do is multiple both the operator and the operand by some factor of 10 and then turn them both into integers before making the calculation. No idea if that's a good approach or not.