Skip to content

Add regression tests for interval container lookup operations#53

Open
ldionne wants to merge 1 commit intoboostorg:developfrom
ldionne:review/add-swo-regression-tests
Open

Add regression tests for interval container lookup operations#53
ldionne wants to merge 1 commit intoboostorg:developfrom
ldionne:review/add-swo-regression-tests

Conversation

@ldionne
Copy link
Member

@ldionne ldionne commented Mar 17, 2026

Add tests to pin down the expected results of lower_bound, upper_bound, equal_range, and find on the various interval containers. These tests aim to trigger failures on some standard libraries (in particular newer versions of libc++) since Boost.ICL uses associative containers with a comparator that is not a proper strict weak ordering.

Note that many tests already fail without these reproducers when upgrading to a newer libc++, but these tests provide additional coverage.

Related to #51

Add tests to pin down the expected results of lower_bound, upper_bound,
equal_range, and find on the various interval containers. These tests
aim to trigger failures on some standard libraries (in particular newer
versions of libc++) since Boost.ICL uses associative containers with a
comparator that is not a proper strict weak ordering.

Note that many tests already fail without these reproducers when
upgrading to a newer libc++, but these tests provide additional
coverage.

Related to boostorg#51
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