Пример #1
0
 public void FaceNFref_PaduakFace_ReturnNineOrMoreFeatures()
 {
     using (var face = new PaduakDisposableFace())
     {
         int num = Graphite2Api.FaceNFref(face.Face);
         Assert.GreaterOrEqual(num, 9);
     }
 }
Пример #2
0
 public void FaceFref_PaduakFace_ReturnsNonNullForEachFeature()
 {
     using (var face = new PaduakDisposableFace())
     {
         int num = Graphite2Api.FaceNFref(face.Face);
         for (ushort i = 0; i < num; ++i)
         {
             IntPtr gr_feature_ref = Graphite2Api.FaceFref(face.Face, i);
             Assert.AreNotEqual(IntPtr.Zero, gr_feature_ref);
         }
     }
 }