Skip to content

AndConstraint

jnm2 edited this page Mar 18, 2017 · 8 revisions

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

Constructor

```C# AndConstraint(Constraint left, Constraint right) ```

Syntax

```C# .And. ```

Examples of Use

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

See also...

Clone this wiki locally