예제 #1
0
        public void Test_Parse(string input, decimal expected)
        {
            // Act.
            var actual = _converter.Parse(new FieldParsingContext(input, null, typeof(decimal)));

            // Assert.
            Assert.Equal(expected, actual);
        }
예제 #2
0
 public static decimal ParseDecimal(Revenj.Utility.BufferedTextReader reader, int context)
 {
     return(DecimalConverter.Parse(reader));
 }