Table of Contents

Method StrictEqual

Namespace
Xunit
Assembly
xunit.v3.assert.dll

StrictEqual<T>(T, T)

Verifies that two objects are strictly equal, using the type's default comparer.

public static void StrictEqual<T>(T expected, T actual)

Parameters

expected T

The expected value

actual T

The value to be compared against

Type Parameters

T

The type of the objects to be compared