Enum SseCountComparison
- Namespace
- SseAssertions
- Assembly
- SseAssertions.dll
Identifies which count-comparison terminator the SSE assertion chain applied. Carried by EventCountMismatch(string, int, int, SseCountComparison) so failure messages can render the comparison label consistently across the family.
public enum SseCountComparison
Fields
AtLeast = 0At least the expected count — matches the chain terminator
AtLeast(n).AtMost = 1At most the expected count — matches the chain terminator
AtMost(n).Exactly = 2Exactly the expected count — matches the chain terminator
Exactly(n).
Remarks
The enum is the typed equivalent of the chain methods AtLeast, AtMost, and
Exactly on SseAssertions.TUnit.SseAssertion; consumer-authored typed assertions
that compose SseFailureMessage use it to produce failure messages with the
same shape as the shipped chain terminators.