You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Discovery floors say 11 range unions; there are 13 #222
area/rangesRange unions, variants and the shape enginespackage/coreAffects CodoMetis.ValueRangespackage/nodatimeAffects CodoMetis.ValueRanges.NodaTimetestsAdds or changes tests only (oracles, harnesses); no library code
ClosedUnionContractTests.KnownUnions is 11, and RangeOrderParityTests and DifferentialFuzzParityTests assert at least 11 discovered unions. There are 13 since the float family (#153): 9 core and 4 NodaTime. So both float unions could drop out of discovery, for example through a broken IRangeFactory<,> registration, and the closed-union, order and fuzz sweeps would still pass. Found by the pre-tag analysis (#179).
Change
Raise each floor to 13. Better, derive the expected count from the same reflection the conventions project uses to discover types, so the next type doesn't need an edit, and keep a hard floor only as a guard against discovery returning nothing. Show that removing one float union from discovery fails each test.
area/rangesRange unions, variants and the shape enginespackage/coreAffects CodoMetis.ValueRangespackage/nodatimeAffects CodoMetis.ValueRanges.NodaTimetestsAdds or changes tests only (oracles, harnesses); no library code
Activity