Beispiel #1
0
        public virtual void TestGetRecognizedFaces()
        {
            Face expResult = new Face(142, 120, 76, 76, "NIELS", new Age(31, 7, 15, 0, 0, 0));

            Face[] result = _panasonicDirectory.GetRecognizedFaces();
            NUnit.Framework.Assert.IsNotNull(result);
            Sharpen.Tests.AreEqual(expResult, result[0]);
        }
 public void GetRecognizedFaces()
 {
     Assert.Equal(
         new[] { new Face(142, 120, 76, 76, "NIELS", new Age(31, 7, 15, 0, 0, 0)) },
         _panasonicDirectory.GetRecognizedFaces());
 }