-
Notifications
You must be signed in to change notification settings - Fork 154
CollectionSupersetConstraint
Charlie Poole edited this page Jan 31, 2016
·
4 revisions
CollectionSupersetConstraint tests that one IEnumerable
is a superset of another. If the actual value passed does not implement IEnumerable
, an exception is thrown.
CollectionSupersetConstraint( IEnumerable )
Is.SupersetOf( IEnumerable )
int[] iarray = new int[] { 1, 2, 3 };
Assert.That( iarray, Is.SupersetOf( new int[] { 1, 3 }) );
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