Example #1
0
        public void CreateEDL()
        {
            var       pool        = new TextBlockPool();
            TextBlock helloMyName = new TextBlock("hello my name");

            pool.SaveTextBlock(helloMyName);
            TextBlock isSimon = new TextBlock(" is simon");

            pool.SaveTextBlock(isSimon);

            var edl = new EDL();

            edl.Add(helloMyName);
            edl.Add(isSimon);

            Assert.AreEqual("hello my name is simon", edl.GetText(pool));
        }