public void TestBigEndianSerializationForEveryInt24()
        {
            Byte[] buffer = new Byte[3];

            for (int i = Int24.MinValue; i <= Int24.MaxValue; i++)
            {
                buffer.BigEndianSetInt24(0, i);
                Assert.AreEqual((Byte)(i >> 16), buffer[0]);
                Assert.AreEqual((Byte)(i >> 8), buffer[1]);
                Assert.AreEqual((Byte)i, buffer[2]);
                Assert.AreEqual(i, buffer.BigEndianReadInt24(0));
            }
        }