예제 #1
0
        public void TestCloseAllFolds()
        {
            var data = Create(@"$+[Foo]-[Bar]");

            FoldActions.CloseAllFolds(data);
            Check(data, @"$+[Foo]+[Bar]");
        }
예제 #2
0
        public void TestClose()
        {
            var data = Create(@"$-[Foo]");

            FoldActions.CloseFold(data);
            Check(data, @"$+[Foo]");
        }
예제 #3
0
        public void TestOpenAllFolds()
        {
            var data = Create(@"$+[Foo]-[Bar]");

            FoldActions.OpenAllFolds(data);
            Check(data, @"$-[Foo]-[Bar]");
        }
예제 #4
0
        public void TestOpenFold()
        {
            var data = Create(@"$+[Foo]");

            FoldActions.OpenFold(data);
            Check(data, @"$-[Foo]");
        }