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

UInt32SetBytes() private method

private UInt32SetBytes ( ) : void
return void
        public void UInt32SetBytes()
        {
            UInt32 expected = 2147483690;

            byte[] data = new byte[]
                              {
                                 42, 0, 0, 128
                              };
            UInt32 actual = BitConverterEx.SetBytes<UInt32>(data);

            Assert.AreEqual(expected, actual);
        }
        #endregion System.UInt32