AndConstraint - jnm2/nunit-docs-wiki GitHub Wiki

AndConstraint combines two other constraints and succeeds only if they both succeed.

Constructor

AndConstraint(Constraint left, Constraint right)

Syntax

<Constraint>.And.<Constraint>

Examples of Use

Assert.That(2.3, Is.GreaterThan(2.0).And.LessThan(3.0));

See also...

⚠️ **GitHub.com Fallback** ⚠️