public void TestPofStreamWriteBoolean()
        {
            initPOFWriter();
            pofwriter.WriteBoolean(0, true);
            pofwriter.WriteBoolean(0, false);
            pofwriter.WriteBoolean(0, true);
            pofwriter.WriteBoolean(0, true);

            initPOFReader();
            Assert.IsTrue(pofreader.ReadBoolean(0));
            Assert.IsFalse(pofreader.ReadBoolean(0));
            Assert.IsTrue(pofreader.ReadBoolean(0));

            object obool = pofreader.ReadObject(0);

            Assert.IsTrue(obool is bool);
            bool rbool = (bool)obool;

            Assert.IsTrue(rbool);
        }