示例#1
0
        public void Split_1()
        {
            Scope root = new Scope("abc");

            root.DefineInnerScope(0, 2);//ab
            splitter.Split(root, new SplitPoint(1, 1), true);
            Assert.IsNotNull(root.InnerLeftScope.InnerRightScope);
            Assert.AreEqual("b", root.InnerLeftScope.InnerRightScope.Text);
        }