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

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