Skip to content

Wrong Expected Output for TestInNullBoundaries #69

@cmoesel

Description

@cmoesel

The test CqlIntervalOperatorsTest.In.TestInNullBoundaries specifies the following CQL:

5 in Interval[null, null]

and expected output false.

The CQL specification for In, however, says:

For closed interval boundaries, if the interval boundary is null, the result of the boundary comparison is considered true.

Therefore, the result of each boundary comparison in the test CQL is true and the overall result should also be true.

Metadata

Metadata

Labels

CQLTest: CQL-test-codeActual tests stored or changed in this repo. Closed through PR and no HL7 balloting required.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions