public void TestEquality_Null() { var rs = new ResultState(TestStatus.Passed); Assert.AreNotEqual(null, rs); Assert.AreNotEqual(rs, null); Assert.False(rs.Equals(null)); }
public void TestEquality_WrongType() { var rs = new ResultState(TestStatus.Passed); var s = "123"; Assert.AreNotEqual(rs, s); Assert.AreNotEqual(s, rs); Assert.False(rs.Equals(s)); }