Summary
Apply the item constraint to each item in the collection,
succeeding only if the expected number of items pass.
- Namespace
- TCLite
.Constraints - Containing Type
- ExactCountConstraint
Syntax
protected override ConstraintResult ApplyConstraint<TActual>(TActual actual)
Type Parameters
| Name | Description |
|---|---|
| TActual |
Parameters
| Name | Type | Description |
|---|---|---|
| actual | TActual | The value to be tested |
Return Value
| Type | Description |
|---|---|
| ConstraintResult | A ConstraintResult |
