Table of Contents

Class FalseConstraint

Namespace
NUnit.Framework.Constraints
Assembly
nunit.framework.dll

FalseConstraint tests that the actual value is false

public class FalseConstraint : Constraint, IConstraint, IResolveConstraint
Inheritance
FalseConstraint
Implements
Inherited Members

Constructors

FalseConstraint()

Initializes a new instance of the FalseConstraint class.

public FalseConstraint()

Methods

ApplyTo<TActual>(TActual)

Test whether the constraint is satisfied by a given value

public override ConstraintResult ApplyTo<TActual>(TActual actual)

Parameters

actual TActual

The value to be tested

Returns

ConstraintResult

True for success, false for failure

Type Parameters

TActual