Skip to content

Remove incorrect interval with null boundaries test #106

Description

@brynrhodes

The test CqlIntervalOperatorsTest.Except.NullInterval is incorrect:

https://github.com/cqframework/cql-tests/blob/main/tests/cql/CqlIntervalOperatorsTest.xml#L651

It states that Interval[null, null] should result in null but this is not correct, and most of the engines fail this incorrect test.

The spec is clear that an interval with null boundaries is allowed, and especially in the case of null closed boundaries, the semantics are very different from just collapsing to a null.

This test should be removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions