513 Commits (master)
 

Author SHA1 Message Date
Tom Alexander 4645530473
Use the render function when doing string coercion for json values. 4 years ago
Tom Alexander 04d2f4b331
Merge branch 'bug_comparison_type_coercion' into render 4 years ago
Tom Alexander 756fdb7d00
Tests are once again passing. 4 years ago
Tom Alexander 830bb06a92
Unifying number comparison. 4 years ago
Tom Alexander 731f235d9e
fix greater than. 4 years ago
Tom Alexander 03a8328148
Fix the equality test. 4 years ago
Tom Alexander d77ab7401c
Switched over to using operators instead of compare in the renderer. 4 years ago
Tom Alexander 596611c03a
Mostly implemented the new comparison logic for json with new literals. 4 years ago
Tom Alexander 189dfb1755
Fix tests. 4 years ago
Tom Alexander c905e705ff
Transition to new literals compiling.
Tests still need work, as does the implementation for json.
4 years ago
Tom Alexander bc25c1ee16
Starting to remove the old RValues. 4 years ago
Tom Alexander 16d8891452
Implement partial_compare for OwnedLiteral. 4 years ago
Tom Alexander bf35fd0ae4
equals implementation for literal. 4 years ago
Tom Alexander 6519add838
Starting an OwnedLiteral type instead of using rust's built-in primitives. 4 years ago
Tom Alexander dd160c5708
Hitting an infinite loop on compare string and int. 4 years ago
Tom Alexander 054480b797
First stab at fixing the error, not a full success. 4 years ago
Tom Alexander 974ce96f14
Merge branch 'dust_helpers' into render 4 years ago
Tom Alexander ce8b73f87a
Implement less than or equals. 4 years ago
Tom Alexander 30b7324049
Implement less-than. 4 years ago
Tom Alexander 496a5e0ac7
Had to manually interpret the `partial_cmp` output instead of using the built-in operators since gte confusingly returns true for mismatched values. 4 years ago
Tom Alexander 62cd73f9c9
Initial attempt at implementation, tests not working. 4 years ago
Tom Alexander 7cde89c601
Merge branch 'helper_greater_than' into dust_helpers 4 years ago
Tom Alexander 0cfe67311e
Comment out the unicode literals test because unicode breaks nom.
Will have to write my own parsers to handle unicode.
4 years ago
Tom Alexander f640cb0440
Fixed greater than helper by using rust's PartialOrd implementation for Vec. 4 years ago
Tom Alexander 7126e83d9a
Added tests for non-congruous arrays. 4 years ago
Tom Alexander b53a9e1837
Cleaning up and factoring out reused code in the renderer. 4 years ago
Tom Alexander 0f90fa2c7e
Add support for ignoring tests by prefixing their name with an underscore. 4 years ago
Tom Alexander 6758d515f1
Have greater than helper very close to correct. Just need to make it compare arrays of scalars. 4 years ago
Tom Alexander 48e35c54bb
Add tests for less than and less than or equal to. 4 years ago
Tom Alexander 02abee1c53
Add a test for gte. 4 years ago
Tom Alexander 7d4cb14530
Add that check to the not-equals helper and update the json value implementation to mark all non-scalars as not-equals. 4 years ago
Tom Alexander 41e4874d75
Add a check to the equality helper to mark identical paths as equal. 4 years ago
Tom Alexander d751df6fd5
Add tests for copied values. 4 years ago
Tom Alexander 6dbeb77a28
Add arrays to all helpers tests. 4 years ago
Tom Alexander 2b5bec05be
Implemented partial_compare for scalar json values. 4 years ago
Tom Alexander 71e6da39ee
Add a test for boolean comparison. 4 years ago
Tom Alexander 563fd1f6db
Starting comparison of json value to json value. 4 years ago
Tom Alexander 9851a2556d
Ordering implementation for comparison between json and literals. 4 years ago
Tom Alexander 8748cb7063
Structure for ordering, need to implement for serde_json::Value. 4 years ago
Tom Alexander 8a44bc6fd9
Add greater-than-specific tests to investigate string ordering. 4 years ago
Tom Alexander f390c05a4c
Finished porting over the equality test to greater than. 4 years ago
Tom Alexander 196740ae34
Starting the greater than helper tests. 4 years ago
Tom Alexander ed7b1f5b3e
Merge branch 'helper_not_equals' into dust_helpers 4 years ago
Tom Alexander f4a935224c
Implemented the not equals helper. 4 years ago
Tom Alexander 94cedef3ef
Added a test for not equals which is roughly a copy of the equals test. 4 years ago
Tom Alexander e04a0be5e7
Add the rest of the helpers to the recursive extract inline partials function. 4 years ago
Tom Alexander 3c85717952
Merge branch 'remove_lifetime_from_context_elements' into dust_helpers 4 years ago
Tom Alexander 1b63bc4083
Add a test for integer literals. 4 years ago
Tom Alexander 6e6560c742
Revived the tests. 4 years ago
Tom Alexander c88cab8316
Hook in the integer parser. 4 years ago