AndConstraint

Charlie Poole edited this page Jan 31, 2016 · 1 revision
Clone this wiki locally

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...