示例#1
0
        public void testInternals()
        {
            string location = "";

            try
            {
                location = "initializes with an encapsulated data item";
                SubExpression subExpression = new SubExpression(new EncapsulatedData("example string"));
                location = "can parse unaries";
                LinkedList <SubExpression> unaryParsed = subExpression.ParseUnaryOperators(new List <SubExpression>(), new Dictionary <string, EncapsulatedData>());

                Assert.True(true, "Didn't fail with empties. ");
            }
            catch (Exception e)
            {
                Assert.True(false, String.Format("Fails with empties {1} {0}", (e != null) ? e.Message : "", location));
            }
        }