public void GetBytesBigEndian_MaxUInt32_Bytes()
 {
     byte[] bytes = BytesConverter.GetBytesBigEndian(uint.MaxValue);
     Assert.AreEqual(4, bytes.Length);
     Assert.AreEqual(255, bytes[0]);
     Assert.AreEqual(255, bytes[1]);
     Assert.AreEqual(255, bytes[2]);
     Assert.AreEqual(255, bytes[3]);
 }
 public void GetBytesBigEndian_ZeroUInt32_Bytes()
 {
     byte[] bytes = BytesConverter.GetBytesBigEndian((uint)0);
     Assert.AreEqual(4, bytes.Length);
     Assert.AreEqual(0, bytes[0]);
     Assert.AreEqual(0, bytes[1]);
     Assert.AreEqual(0, bytes[2]);
     Assert.AreEqual(0, bytes[3]);
 }