Ejemplo n.º 1
0
    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));
    }
Ejemplo n.º 2
0
    public void AreSameObject_same_objects()
    {
        var identityA = new Identity("*****@*****.**", new FacialFeatures("blue", 0.9m));

        Assert.True(Authenticator.AreSameObject(identityA, identityA));
    }