Exemple #1
0
        public void TestTartuffe()
        {
            TestTheText ttt  = new TestTheText(Tartuffe);
            Config      conf = new Config();

            conf.sylConf.mode = SylConfig.Mode.poesie;
            ttt.AssertSyls(conf, TartuffePoesie);

            conf.sylConf.chercherDierese = false;
            ttt.AssertSyls(conf, TartuffePoesieSansDierese);

            conf.sylConf.mode = SylConfig.Mode.ecrit;
            ttt.AssertSyls(conf, TartuffeEcrit);
        }
Exemple #2
0
        public void TestHarle()
        {
            TestTheText ttt  = new TestTheText(HarlesEtHiboux);
            Config      conf = new Config();

            conf.sylConf.mode = SylConfig.Mode.poesie;
            ttt.AssertSyls(conf, HarlesEtHibouxPoesie);
        }
Exemple #3
0
        public void TestCigogne()
        {
            TestTheText ttt  = new TestTheText(LeRenardEtLaCigogne);
            Config      conf = new Config();

            conf.sylConf.mode = SylConfig.Mode.poesie;
            ttt.AssertSyls(conf, LeRenardEtLaCigognePoesie);
        }
Exemple #4
0
        public void TestHymne()
        {
            TestTheText ttt  = new TestTheText(HymneALaBeaute);
            Config      conf = new Config();

            conf.sylConf.mode = SylConfig.Mode.poesie;
            ttt.AssertSyls(conf, HymneALaBeautePoesie);
        }
Exemple #5
0
        public void TestPernelle()
        {
            TestTheText ttt  = new TestTheText(Pernelle);
            Config      conf = new Config();

            conf.sylConf.mode = SylConfig.Mode.poesie;
            ttt.AssertSyls(conf, PernellePoesie);

            conf.sylConf.chercherDierese = false;
            ttt.AssertSyls(conf, PernellePoesieSansDierese);

            conf.sylConf.chercherDierese = true;
            conf.sylConf.nbrPieds        = 13;
            ttt.AssertSyls(conf, PernellePoesie13);

            conf.sylConf.nbrPieds = 10;
            ttt.AssertSyls(conf, PernellePoesieSansDierese);

            conf.sylConf.mode = SylConfig.Mode.oral;
            ttt.AssertSyls(conf, PernelleOral);
        }