public void TestReadDecimalNameDefaultValye()
        {
            var fieldSet = new DefaultFieldSet(new[] { "name" }, new[] { " " });

            var read = fieldSet.ReadDecimal("name", 33m);

            Assert.AreEqual(33m, read);
        }
        public void TestReadDecimalName()
        {
            var fieldSet = new DefaultFieldSet(new[] { "name" }, new[] { "1999.37" });

            var read = fieldSet.ReadDecimal("name");

            Assert.AreEqual(1999.37m, read);
        }
        public void TestReadDecimalIndexDefaultValue()
        {
            var fieldSet = new DefaultFieldSet(new[] { " " });

            var read = fieldSet.ReadDecimal(0, 33m);

            Assert.AreEqual(33m, read);
        }
        public void TestReadDecimalIndex()
        {
            var fieldSet = new DefaultFieldSet(new[] { "1999.37" });

            var read = fieldSet.ReadDecimal(0);

            Assert.AreEqual(1999.37m, read);
        }