Beispiel #1
0
        public void ut_170725_test_make_sure_motalat_variants_are_less_than_75()
        {
            String word     = "motalat";
            var    variants = new TextConverter().GetAllTranscriptions(word);

            // shoudl not convert medial o to haa
            Assert.IsFalse(variants.Contains("مهتلت"));

            //
            Assert.IsTrue(variants.Count < 75, "nbr variants : " + variants.Count);
        }