Beispiel #1
0
        public void PrintSlog_firstPrintedtrue_cut2()
        {
            string        result       = "";
            StringBuilder slog         = new StringBuilder("тест");
            bool          firstPrinted = true;

            slog = Syllables.PrintSlog(slog, ref result, ref firstPrinted, 2);
            Assert.AreEqual("ст", slog.ToString());
            Assert.AreEqual("-те", result);
        }
Beispiel #2
0
        public void PrintSlog_firstPrintedfalse_cut0()
        {
            string        result       = "";
            StringBuilder slog         = new StringBuilder("тест");
            bool          firstPrinted = false;

            slog = Syllables.PrintSlog(slog, ref result, ref firstPrinted);
            Assert.AreEqual("", slog.ToString());
            Assert.AreEqual("тест", result);
        }