public void AreSameObject_different_objects() { var identityA = new Identity("*****@*****.**", new FacialFeatures("blue", 0.9m)); var identityB = new Identity("*****@*****.**", new FacialFeatures("blue", 0.9m)); Assert.False(Authenticator.AreSameObject(identityA, identityB)); }
public void AreSameObject_same_objects() { var identityA = new Identity("*****@*****.**", new FacialFeatures("blue", 0.9m)); Assert.True(Authenticator.AreSameObject(identityA, identityA)); }