public void SutDoesNotEqualAnonymousObject(object other) { var sut = new TypeElement(this.GetType()); var actual = sut.Equals(other); Assert.False(actual); }
public void SutDoesNotEqualDifferentInstanceOfSameType() { var sut = new TypeElement(this.GetType()); var other = new TypeElement(typeof(Version)); var actual = sut.Equals(other); Assert.False(actual); }
public void SutEqualsOtherIdenticalInstance() { var t = this.GetType(); var sut = new TypeElement(t); var other = new TypeElement(t); var actual = sut.Equals(other); Assert.True(actual); }