ICSharpCode.SharpUnit an Unit Testing Framework for .NET

Assertion Methods

The methods of the Assertion class are listed below. For a complete list of Assertion class members, see the Assertion Members topic.

Public Static Methods

AssertOverloaded. Asserts that a condition is true.
AssertEqualsOverloaded. Asserts that two doubles are equal concerning a delta. If the expected value is infinity then the delta value is ignored.
AssertNotNullOverloaded. Asserts that an object isn't null.
AssertNullOverloaded. Asserts that an object is null.
AssertSameOverloaded. Asserts that two objects refer to the same object.
FailOverloaded. Throw an AssertionFailedException.

Public Instance Methods

CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Assertion Class | ICSharpCode.SharpUnit Namespace