-
Notifications
You must be signed in to change notification settings - Fork 158
NotConstraint
jnm2 edited this page Jun 14, 2017
·
5 revisions
NotConstraint reverses the effect of another constraint. If the base constraint fails, NotConstraint succeeds. If the base constraint succeeds, NotConstraint fails.
NotConstraint()
Is.Not...
Assert.That(collection, Is.Not.Unique);
Assert.That(2 + 2, Is.Not.EqualTo(5));
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0
-
NUnit
-
Release Notes
-
License
- Getting Started
- Writing Tests
- Running Tests
- Extending NUnit
- Technical Notes
-
Release Notes
- NUnit Xamarin Runners
- VS Test Adapter
- VS Test Generator
- NUnit Analyzers