public void Equals_Second_Object_Null_Return_False() { var y = ShapeStyle.Create(); var c = new ShapeStyleByNameComparer(); Assert.False(c.Equals(y, null)); }
public void Equals_First_Object_Null_Return_False() { var x = ShapeStyle.Create(); var c = new ShapeStyleByNameComparer(); Assert.False(c.Equals(null, x)); }
public void Implements_IEqualityComparer_Interface() { var target = new ShapeStyleByNameComparer(); Assert.True(target is IEqualityComparer <ShapeStyle>); }
public void Implements_IEqualityComparer_Interface() { var target = new ShapeStyleByNameComparer(); Assert.True(target is IEqualityComparer<ShapeStyle>); }