public void SameObject() { var settings = new DepthTestSettings(); var settings2 = settings; Assert.IsTrue(settings.Equals(settings2)); Assert.IsTrue(settings == settings2); Assert.IsFalse(settings != settings2); }
public void DifferentObjects() { var settings = new DepthTestSettings(); var settings2 = new DepthTestSettings(false, false, OpenTK.Graphics.OpenGL.DepthFunction.Always); Assert.IsFalse(settings.Equals(settings2)); Assert.IsFalse(settings == settings2); Assert.IsTrue(settings != settings2); }