Пример #1
0
        public void ParseTest4()
        {
            var target = new CommentComponent();

            Assert.Throws <IncorrectSyntaxException>(() =>
                                                     target.Eval("test")
                                                     );

            Assert.Throws <IncorrectSyntaxException>(() =>
                                                     target.Eval("")
                                                     );
        }
Пример #2
0
        public void ParseTest2()
        {
            var target = new CommentComponent();

            Assert.Equal(Value.Empty, target.Eval("[\"line1 \n line2\"]"));
        }