public void PerTestSetup()
 {
     _face = new Face(TestConstants.PaduakFontLocation, FaceOptions.face_default);
     _font = new Font(20.0f, _face);
     _featureval = _face.FeaturevalForLang("en");
     _segment = _font.MakeSeg(0, _featureval, "hello world", Bidirtl.Nobidi);
 }
 public void FeaturevalForLang_EnLang_ReturnsNonNullFeatureval()
 {
     using (var face = new Face(TestConstants.PaduakFontLocation, FaceOptions.face_default))
     {
         Featureval val = face.FeaturevalForLang("en");
         Assert.NotNull(val);
     }
 }
 public void MakeSeg_WithTestString_ReturnsNonNullSegment()
 {
     using (var face = new Face(TestConstants.PaduakFontLocation, FaceOptions.face_default))
     {
         using (var font = new Font(20.0f, face))
         {
             using(Featureval featureval = face.FeaturevalForLang("en"))
             {
                 Segment segment = font.MakeSeg(0, featureval, "hello world", Bidirtl.Nobidi);
                 Assert.NotNull(segment);
                 segment.Dispose();
             }
         }
     }
 }