Table of Contents

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

string

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

firstList List<Tuple<T, U>>

First list to compare

secondList List<Tuple<T, U>>

Second list to compare

Type Parameters

T

Type of the first element in the tuple

U

Type of the second element in the tuple

Exceptions

Exception

Thrown when lists are not equal