Main Content

matlab.unittest.constraints.AndConstraint Class

Namespace: matlab.unittest.constraints
Superclasses: matlab.unittest.constraints.Constraint

Logical conjunction of constraints

Description

When you combine constraints with the logical AND operator (&), the testing framework instantiates the matlab.unittest.constraints.AndConstraint class. You cannot create an object of this class directly.

Properties

expand all

Left-side constraint in the logical conjunction, returned as a matlab.unittest.constraints.Constraint object.

Attributes:

GetAccess
public
SetAccess
private

Right-side constraint in the logical conjunction, returned as a matlab.unittest.constraints.Constraint object.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2013a