public void Test_IEquatable() { MagickGeometry first = new MagickGeometry(10, 5); Assert.IsFalse(first == null); Assert.IsFalse(first.Equals(null)); Assert.IsTrue(first.Equals(first)); Assert.IsTrue(first.Equals((object)first)); MagickGeometry second = new MagickGeometry(10, 5); Assert.IsTrue(first == second); Assert.IsTrue(first.Equals(second)); Assert.IsTrue(first.Equals((object)second)); second = new MagickGeometry(5, 5); Assert.IsTrue(first != second); Assert.IsFalse(first.Equals(second)); }