Class AssertExtensions
- Namespace
- SunamoExtensions
- Assembly
- SunamoExtensions.dll
Provides assertion extension methods for comparing collections
public class AssertExtensions
- Inheritance
-
AssertExtensions
- Inherited Members
- Extension Methods
Fields
XCountInAAndBIsNotEqual
Error message constant for count mismatch between two collections
public static string XCountInAAndBIsNotEqual
Field Value
Methods
EqualTuple<T, U>(List<Tuple<T, U>>, List<Tuple<T, U>>)
Compares two lists of tuples for equality
public static void EqualTuple<T, U>(List<Tuple<T, U>> firstList, List<Tuple<T, U>> secondList)
Parameters
firstListList<Tuple<T, U>>First list to compare
secondListList<Tuple<T, U>>Second list to compare
Type Parameters
TType of the first element in the tuple
UType of the second element in the tuple
Exceptions
- Exception
Thrown when lists are not equal