|
Joutsen v0.5.0+12-g5dd5f7e
|
A nunit constraint that checks if two sequences contain the same items inany order. More...
Classes | |
| class | SequencesEquivalentConstraintResult |
| A class representing the result of a SequencesEquivalentConstraint. More... | |
Public Member Functions | |
| SequencesEquivalentConstraint (IEnumerable< TElement > expected, IEqualityComparer< TElement > comparer) | |
| Creates a new instance of the constraint. More... | |
| SequencesEquivalentConstraint (IEnumerable< TElement > expected, global::System.Collections.IEqualityComparer comparer) | |
| Creates a new instance of the constraint. More... | |
| override ConstraintResult | ApplyTo< TActual > (TActual actual) |
Applies the constraint to the actual value. More... | |
A nunit constraint that checks if two sequences contain the same items inany order.
| TElement | the type of the items of the sequences |
| Joutsen.NUnit3.SequencesEquivalentConstraint< TElement >.SequencesEquivalentConstraint | ( | IEnumerable< TElement > | expected, |
| IEqualityComparer< TElement > | comparer | ||
| ) |
Creates a new instance of the constraint.
| expected | the expected sequence that will be used when the constraint is evaluated |
| comparer | the comparer instance to use when comparing the items of the sequences |
| Joutsen.NUnit3.SequencesEquivalentConstraint< TElement >.SequencesEquivalentConstraint | ( | IEnumerable< TElement > | expected, |
| global::System.Collections.IEqualityComparer | comparer | ||
| ) |
Creates a new instance of the constraint.
| expected | the expected sequence that will be used when the constraint is evaluated |
| comparer | the comparer instance to use when comparing the items of the sequences |
| override ConstraintResult Joutsen.NUnit3.SequencesEquivalentConstraint< TElement >.ApplyTo< TActual > | ( | TActual | actual | ) |
Applies the constraint to the actual value.
| TActual | the type of the actual value |
| actual | the value to test the constraint against |