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

Round-trip tests for Engine toString functions of Primitives. #973

Open
JPercival opened this issue Jul 6, 2020 · 0 comments
Open

Round-trip tests for Engine toString functions of Primitives. #973

JPercival opened this issue Jul 6, 2020 · 0 comments
Assignees

Comments

@JPercival
Copy link
Contributor

The output of engine toString functions for primitives should be identical to the CQL literal for the same type. We should add tests to verify and enforce that.

Example:

CQL for Interval Parameter:
parameter "Measurement Period" Interval
default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)

The output for the toString of that default interval should be:
"Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)"

Same applies for the Tuple, Quantity, etc.

@JPercival JPercival self-assigned this Jul 6, 2020
@JPercival JPercival transferred this issue from cqframework/cql-engine Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant