cqframework / cqframework/cql-tests
Wrong Expected Output for Duration w/ Different Precisions
Open
@brynrhodes is already working on this.
Since Oct 2, 2025.
- Dominant language
- No language data
- Stars
- 7
- Forks
- 8
- Avg merge
- 12d 5h
- Merged PRs (30d)
- 2
Description
The test CqlDateTimeOperatorsTest.Uncertainty tests.TimeDurationBetweenHourDiffPrecision2 specifies the following CQL:
hours between @T06 and @T07:00:00
and expected result 1.
Since duration counts "whole calendar periods", and @T06 represents some time from 6:00:00.0 to 6:59:59.999, this should expect the result Uncertainty[0, 1] (represented as Interval[0, 1] in this test framework).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.