示例#1
0
        public void TestDecimals(decimal weird)
        {
            writer.WriteDecimalConverter(weird);
            reader.Reset(writer.ToArraySegment());
            decimal readDecimal = reader.ReadDecimalConverter();

            Assert.That(readDecimal, Is.EqualTo(weird));
        }