示例#1
0
        public static void MutateTransformsToNumericStringPreservingFloatingPoint(string input, string output)
        {
            var attribute = new ToNumericAttribute()
            {
                PreserveFloatingPoint = true
            };

            Assert.Equal(output, attribute.Mutate(input));
        }
示例#2
0
        public static void MutateTransformsToNumericString(string input, string output)
        {
            var attribute = new ToNumericAttribute();

            Assert.Equal(output, attribute.Mutate(input));
        }