public virtual void UInt32Test()
        {
            UInt32 value = 2478;

            Stream stream = new MemoryStream();
            FormattingStreamWriter writer = new FormattingStreamWriter(stream);

            writer.Write(value);
            writer.Flush();

            stream.Position = 0;

            StreamReader reader = new StreamReader(stream);
            String       result = reader.ReadToEnd();

            NUnit.Framework.Assert.AreEqual("2478", result);
        }
        public virtual void NegativeSingleTest()
        {
            Single value = -123.5f;

            Stream stream = new MemoryStream();
            FormattingStreamWriter writer = new FormattingStreamWriter(stream);

            writer.Write(value);
            writer.Flush();

            stream.Position = 0;

            StreamReader reader = new StreamReader(stream);
            String       result = reader.ReadToEnd();

            NUnit.Framework.Assert.AreEqual("-123.5", result);
        }
        public virtual void BooleanTest()
        {
            Boolean value = true;

            Stream stream = new MemoryStream();
            FormattingStreamWriter writer = new FormattingStreamWriter(stream);

            writer.Write(value);
            writer.Flush();

            stream.Position = 0;

            StreamReader reader = new StreamReader(stream);
            string       result = reader.ReadToEnd();

            NUnit.Framework.Assert.AreEqual("True", result);
        }