-
Notifications
You must be signed in to change notification settings - Fork 159
AssignableToConstraint
Charlie Poole edited this page Jan 31, 2016
·
4 revisions
AssignableToConstraint tests that one type is assignable to another
AssignableToConstraint( Type )
Is.AssignableTo( Type )
Is.AssignableTo<T>()
Assert.That( "Hello", Is.AssignableTo(typeof(object)));
Assert.That( 5, Is.Not.AssignableTo(typeof(string)));
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