public void op_Equals_objectSame() { var obj = new DataCollection(); object other = obj; Assert.True(obj.Equals(other)); }
public void op_Equals_objectDiffer() { var obj = new DataCollection { { "name", "value" } }; var comparand = new DataCollection { { "foo", "bar" } }; Assert.False(obj.Equals(comparand)); }
public void op_Equals_object() { var obj = new DataCollection { { "name", "value" } }; var comparand = new DataCollection { { "name", "value" } }; Assert.True(obj.Equals(comparand)); }