Skip to content

Add range membership and subset/superset tests - #25

Merged
MartinsMednis merged 1 commit into
mainfrom
sets-interval-subset
Sep 15, 2026
Merged

MartinsMednis merged 1 commit into
mainfrom
sets-interval-subset

Conversation

@MartinsMednis

Copy link
Copy Markdown
Collaborator
  • Interval/Open as marker constructs; In/Element now recognize Interval as a domain alongside Array/string, matching CortexJS's own convention (Element(x, Interval(a, b)))
  • Subset, SubsetEqual, Superset, SupersetEqual, NotSubset, NotSuperset over Array, via one shared _is_subset helper

Verified against CortexJS's documented examples. 821 tests pass (802 existing + 19 new), 2 skipped.

- Interval/Open as marker constructs; In/Element now recognize
  Interval as a domain alongside Array/string, matching CortexJS's
  own convention (Element(x, Interval(a, b)))
- Subset, SubsetEqual, Superset, SupersetEqual, NotSubset,
  NotSuperset over Array, via one shared _is_subset helper

Verified against CortexJS's documented examples. 821 tests pass
(802 existing + 19 new), 2 skipped.
@MartinsMednis
MartinsMednis merged commit 74c4375 into main Sep 15, 2026
2 checks passed
@MartinsMednis
MartinsMednis deleted the sets-interval-subset branch September 21, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant