Files
swift-collections/Tests/_CollectionsTestSupport
Joseph CursioandClaude Opus 5.5 2f2c59a39b checkSetAlgebra: Repeat the sequence enough to expose counted duplicates
Doubling the other model's elements only exposes an implementation that
counts occurrences instead of distinct members when the two sets share
at least half of the receiver's elements, which depended on the models
a test happened to pick. A BitSet.isStrictSubset that counted
duplicates passed every model pair. Repeat the other model
`xm.count + 2` times instead, so a shared element always appears more
often than the receiver has members.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 20:59:19 -05:00
..
2026-09-29 15:41:05 -07:00