The NUnit.Extensions namespace contains objects which extend the NUnit.Framework namespace. It provides Assert-type objects for classes not explicitly supported by NUnit, such as System.Drawing.Bitmap, where a test for value equality is desired and Assert.AreEqual tests for reference equality.

Classes

  ClassDescription
BitmapAssert
Provides static methods to assist in unit testing with bitmaps.
ColourAssert
Provides static methods to assist in unit testing with Color instances.
ImageAssert
Provides static methods to assist in testing with System.Drawing.Image instances.
MathsAssert
Contains an equivalent of Assert.AreEqual for double precision floating point numbers which makes allowances for the fuzziness involved in floating point maths.