Ejemplo n.º 1
0
        public void Formats_property()
        {
            var test = new TestClassWithFormat {
                Age = 5.5m
            };
            var result = new HttpPostSerializer().Serialize(test);

            result.ShouldEqual("Age=5.50");
        }
 public void Formats_property()
 {
     var test = new TestClassWithFormat {Age = 5.5m};
     var result = new HttpPostSerializer().Serialize(test);
     result.ShouldEqual("Age=5.50");
 }