Udostępnij za pośrednictwem


ReactiveAssert.AreElementsEqual<T> , metoda (IEnumerable<T>, IEnumerable<T>, String)

Potwierdza, że obie sekwencje wyliczalne mają równą długość i równe elementy.

Przestrzeń nazw:Microsoft.Reactive.Testing
Zestawu: Microsoft.Reactive.Testing (w Microsoft.Reactive.Testing.dll)

Składnia

'Declaration
Public Shared Sub AreElementsEqual(Of T) ( _
    expected As IEnumerable(Of T), _
    actual As IEnumerable(Of T), _
    message As String _
)
'Usage
Dim expected As IEnumerable(Of T)
Dim actual As IEnumerable(Of T)
Dim message As String

ReactiveAssert.AreElementsEqual(expected, _
    actual, message)
public static void AreElementsEqual<T>(
    IEnumerable<T> expected,
    IEnumerable<T> actual,
    string message
)
public:
generic<typename T>
static void AreElementsEqual(
    IEnumerable<T>^ expected, 
    IEnumerable<T>^ actual, 
    String^ message
)
static member AreElementsEqual : 
        expected:IEnumerable<'T> * 
        actual:IEnumerable<'T> * 
        message:string -> unit 
JScript does not support generic types and methods.

Parametry typu

  • T
    Typ elementów.

Parametry

  • message
    Typ: System.String
    Komunikat o błędzie dotyczący niepowodzenia potwierdzenia.

Zobacz też

Odwołanie

ReactiveAssert, klasa

AreElementsEqual, przeciążenie

Microsoft.Reactive.Testing, przestrzeń nazw