Ejemplo n.º 1
0
        public void DeserializeComplex_PrimitiveFloat()
        {
            float val           = 99.99F;
            var   expressionStr = val.AsExpression().DefaultSerializer.Serialize();
            var   deserializer  = new ComplexEntityExpressionDeserializer();
            var   deserialized  = deserializer.Deserialize <float>(expressionStr);

            Assert.Equal(val, deserialized);
        }