public void UInt32GetBytes() { UInt32 data = 2147483690; byte[] expected = new byte[] { 42, 0, 0, 128 }; byte[] actual = BitConverterEx.GetBytes(data); Assert.AreElementsEqual(expected, actual); }