Axiom.UnitTests.Serialization.BitConverterExtensionTests.UInt32GetBytes C# (CSharp) Method

UInt32GetBytes() private method

private UInt32GetBytes ( ) : void
return void
        public void UInt32GetBytes()
        {
            UInt32 data = 2147483690;

            byte[] expected = new byte[]
                              {
                                  42, 0, 0, 128
                              };
            byte[] actual = BitConverterEx.GetBytes(data);

            Assert.AreElementsEqual(expected, actual);
        }