Esempio n. 1
0
        public void DeserializeComplex_PrimitiveInt16()
        {
            short val           = 10;
            var   expressionStr = val.AsExpression().DefaultSerializer.Serialize();
            var   deserializer  = new ComplexEntityExpressionDeserializer();
            var   deserialized  = deserializer.Deserialize <short>(expressionStr);

            Assert.Equal(10, deserialized);
        }