public void TestEqualsReturnsFalseIfOtherIsNull() { OxmlRange target = new OxmlRange(0, 1, 2); OxmlRange other = null; bool expected = false; bool actual = target.Equals(other); Assert.AreEqual(expected, actual); }
public void TestEqualsReturnsFalseForDiffStartProperty() { OxmlRange target = new OxmlRange(0, 1, 2); OxmlRange other = new OxmlRange(0, 3, 2); bool expected = false; bool actual = target.Equals(other); Assert.AreEqual(expected, actual); }
public void TestEqualsReturnsTrueIfAllPropertiesEqual() { OxmlRange target = new OxmlRange(0, 1, 2); OxmlRange other = new OxmlRange(0, 1, 2); bool expected = true; bool actual = target.Equals(other); Assert.AreEqual(expected, actual); }