Пример #1
0
        private void CheckGenerateLiteralDc(String text, String expected, String message)
        {
            ProgramLine target        = ProgramLine.Parse(text);
            LabelTable  lblTable      = new LabelTable();
            ProgramLine generatedLine = target.GenerateLiteralDc(lblTable);

            if (generatedLine == null)
            {
                Assert.IsNull(expected, message);
            }
            else
            {
                String actual = generatedLine.Text;
                Assert.AreEqual(expected, actual, message);
            }
        }