Exemple #1
0
        void TestSmush(char lch, char rch, SmushMode mode, char expect)
        {
            var figlet = new TestFiglet(smushMode: mode);
            var result = figlet.SmushEm(lch, rch);

            Assert.AreEqual(expect, result);
        }
Exemple #2
0
 void TestSmushemAllSmushModes(char lch, char rch, char expect)
 {
     for (SmushMode smushMode = SmushMode.Equal; smushMode < SmushMode.Smush; smushMode++)
     {
         var figlet = new TestFiglet(smushMode: smushMode);
         var result = figlet.SmushEm(lch, rch);
         Assert.AreEqual(expect, result);
     }
 }