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); } } }
public PaduakFeatureVal(ushort n) { _face = new PaduakDisposableFace(); FeatureRef = Graphite2Api.FaceFref(_face.Face, n); }