public void SecondEqualsReturnsFalseIfOtherIsDifferentValue() { c.Second second = new c.Second(47); c.Second other = new c.Second(45); Assert.IsFalse(second.Equals(other)); }
public void SecondEqualsReturnsFalseIfOtherIsNotTypeOfSecond() { c.Second second = new c.Second(47); Task other = new Task(() => { }); Assert.IsFalse(second.Equals(other)); }
public void SecondEqualsReturnsTrueIfOtherIsSameValue() { c.Second second = new c.Second(47); c.Second other = new c.Second(47); Assert.IsTrue(second.Equals(other)); }
public void SecondEqualsReturnsFalseIfOtherIsNull() { c.Second second = new c.Second(47); c.Second other = null; Assert.IsFalse(second.Equals(other)); }