Assume
Provides static methods to express the assumptions
that must be met for a test to give a meaningful
result. If an assumption is not met, the test
should produce an inconclusive result.
public Assume()
The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
public static void That<TActual>(ActualValueDelegate<TActual> del, IResolveConstraint expr, string message, object[] args)
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
Asserts that a condition is true. If the condition is false the method throws
an InconclusiveException.
Asserts that a condition is true. If the condition is false the
method throws an InconclusiveException.
Asserts that a condition is true. If the condition is false the method throws
an InconclusiveException.
Asserts that a condition is true. If the condition is false the method throws
an InconclusiveException.
Asserts that the code represented by a delegate throws an exception
that satisfies the constraint provided.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.
public static void That<TActual>(TActual actual, IResolveConstraint expression, string message, object[] args)
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an InconclusiveException on failure.