public void TestReflectionEquals_DifferentTypes() { ReflectTest o1 = new ReflectTest(1, "hello", new ReflectTest(2, "sub", null)); string o2 = "testing"; Assert.IsTrue(!o1.Equals(o2)); }
public void TestReflectionEquals_NotEqualProperties() { ReflectTest o1 = new ReflectTest(1, "hello", new ReflectTest(2, "sub", null)); ReflectTest o2 = new ReflectTest(1, "hello", null); Assert.IsTrue(!o1.Equals(o2)); }
public void TestReflectionEquals_DifferentTypes() { ReflectTest o1 = new ReflectTest(1, "hello", new ReflectTest(2, "sub", null)); string o2 = "testing"; Assert.IsTrue(! o1.Equals(o2)); }
public void TestReflectionEquals_NotEqualProperties() { ReflectTest o1 = new ReflectTest(1, "hello", new ReflectTest(2, "sub", null)); ReflectTest o2 = new ReflectTest(1, "hello", null); Assert.IsTrue(! o1.Equals(o2)); }
public void TestReflectionEquals_OneNull() { ReflectTest o1 = new ReflectTest(1, "hello", new ReflectTest(2, "sub", null)); Assert.IsTrue(! o1.Equals(null)); }
public void TestReflectionEquals_OneNull() { ReflectTest o1 = new ReflectTest(1, "hello", new ReflectTest(2, "sub", null)); Assert.IsTrue(!o1.Equals(null)); }