public void QuaternionTest()
        {
            int        size  = sizeof(float) * 8 * 4;
            Quaternion value = new Quaternion(rnd.NextSmallFloat(), rnd.NextSmallFloat(), rnd.NextSmallFloat(), rnd.NextSmallFloat());

            stream.WriteQuaternion(value);

            Assert.AreEqual(size, stream.BitOffset);
            stream.ResetRead();

            Assert.AreEqual(value, stream.ReadQuaternion());
            Assert.AreEqual(size, stream.BitOffset);
        }