NotOperator
Negates the test of the constraint it wraps.
namespace NUnit.Framework.Constraints
{
public class NotOperator : PrefixOperator
{
public NotOperator()
{
left_precedence = (right_precedence = 1);
}
public override IConstraint ApplyPrefix(IConstraint constraint)
{
return new NotConstraint(constraint);
}
}
}