public Equals ( object obj ) : bool | ||
obj | object | The |
return | bool |
public void Test_Equals() { var test = new WorkGroup(Name, 1, 10); var test2 = new WorkGroup(Name, 50, 50); Assert.True(test.Equals(test2)); }
public void Test_NotEquals() { var test = new WorkGroup(Name, 1, 10); var test2 = new WorkGroup("notequal", 50, 50); Assert.False(test.Equals(test2)); }
public void Test_Equals_Null_False() { var test = new WorkGroup(Name, 1, 10); Assert.False(test.Equals(null)); }