Ejemplo n.º 1
0
        public void PrimitiveExpressionStringRepresentationString()
        {
            var primitiveVal = new PrimitiveExpression("Hello");

            Assert.AreEqual("'Hello' (type:System.String)", primitiveVal.ToString());
        }
Ejemplo n.º 2
0
        public void PrimitiveExpressionStringRepresentationNull()
        {
            var primitiveVal = new PrimitiveExpression();

            Assert.AreEqual("{null}", primitiveVal.ToString());
        }
Ejemplo n.º 3
0
        public void PrimitiveExpressionStringRepresentationInteger()
        {
            var primitiveVal = new PrimitiveExpression(1);

            Assert.AreEqual("'1' (type:System.Int32)", primitiveVal.ToString());
        }