Assertions are the cornerstone of UTF. The
Assert class has a multitude of test related method overloads that allow you to ensure the validity of your app’s state and behavior. The following is the core set of assertions used by most test classes:
AreEqual and AreNotEqual—These methods rely on the
Object.Equals method to determine object equality. There are various overloads for primitives, as well as reference types.
AreSame and AreNotSame—Tests for whether two variables refer to the same object instance. These ...