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); }
public void TestHarle() { TestTheText ttt = new TestTheText(HarlesEtHiboux); Config conf = new Config(); conf.sylConf.mode = SylConfig.Mode.poesie; ttt.AssertSyls(conf, HarlesEtHibouxPoesie); }
public void TestCigogne() { TestTheText ttt = new TestTheText(LeRenardEtLaCigogne); Config conf = new Config(); conf.sylConf.mode = SylConfig.Mode.poesie; ttt.AssertSyls(conf, LeRenardEtLaCigognePoesie); }
public void TestHymne() { TestTheText ttt = new TestTheText(HymneALaBeaute); Config conf = new Config(); conf.sylConf.mode = SylConfig.Mode.poesie; ttt.AssertSyls(conf, HymneALaBeautePoesie); }
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); }