Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test case for multipleOf plus modified test case parsing floats as decimal.Decimal #188

Closed
wants to merge 2 commits into from

Conversation

vlcinsky
Copy link

Added test case validating, that 92.6 is multipleOf 0.1.

Test case Python code had to be modified to parse floats as decimal.Decimal as with float it fails due to limited float number precision representation.

        modified:   json/tests/draft4/multipleOf.json
This resolves failing test for multipleOf

        modified:   jsonschema/tests/test_jsonschema_test_suite.py
@Julian Julian closed this Apr 3, 2015
Julian added a commit that referenced this pull request Jul 1, 2017
728066f Merge pull request #188 from json-schema-org/sequences-and-objects
c47341a Flesh out some more ignore cases for object validators.
f339360 make test descriptions unique and no longer than 60 chars
6820a83 Merge branch 'CroniD-master'
aaa32d8 test: update "json-pointer" format to exclude fragments
85a552f added some more tests for json-pointer format
b7b79fc extended tests for json-pointer format

git-subtree-dir: json
git-subtree-split: 728066f9c5c258ba3b1804a22a5b998f2ec77ec0
Julian added a commit that referenced this pull request Oct 29, 2017
728066f Merge pull request #188 from json-schema-org/sequences-and-objects
c47341a Flesh out some more ignore cases for object validators.
f339360 make test descriptions unique and no longer than 60 chars
6820a83 Merge branch 'CroniD-master'
aaa32d8 test: update "json-pointer" format to exclude fragments
85a552f added some more tests for json-pointer format
b7b79fc extended tests for json-pointer format

git-subtree-dir: json
git-subtree-split: 728066f9c5c258ba3b1804a22a5b998f2ec77ec0
Julian added a commit that referenced this pull request Nov 5, 2017
9567c58 Merge pull request #189 from blackivory86/uri_formats
1066f7f Merge pull request #192 from furstenheim/master
0b71ddd Update README.md
82db537 Merge pull request #191 from korzio/master
1aecb7b feat(const): Add validation tests for arrays
b9d4dbd set unique descriptions for test-cases
aaa3ef7 adds more valid and invalid URI testcases
728066f Merge pull request #188 from json-schema-org/sequences-and-objects
c47341a Flesh out some more ignore cases for object validators.
f339360 make test descriptions unique and no longer than 60 chars
6820a83 Merge branch 'CroniD-master'
aaa32d8 test: update "json-pointer" format to exclude fragments
85a552f added some more tests for json-pointer format
b7b79fc extended tests for json-pointer format

git-subtree-dir: json
git-subtree-split: 9567c588bc9d1705b4840ee9d9f3f268f40c1e68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants