Example #1
0
        public void FrefSetFeatureValue_SettingsThekdotFeature_FailsWithZeroReturnCode()
        {
            using (var face = new PaduakDisposableFace())
            {
                uint   lang           = Graphite2Api.StrToTag("en");
                IntPtr gr_feature_val = Graphite2Api.FaceFeaturevalForLang(face.Face, lang);
                IntPtr gr_feature_ref = Graphite2Api.FaceFindFref(face.Face, 1801744244);
                int    ret            = Graphite2Api.FrefSetFeatureValue(gr_feature_ref, 12, gr_feature_val);
                Assert.AreEqual(0, ret);

                Graphite2Api.FeatureValDestroy(gr_feature_val);
            }
        }