Axiom.UnitTests.Serialization.BitConverterExtensionTests.Int32GetBytes C# (CSharp) Méthode

Int32GetBytes() private méthode

private Int32GetBytes ( ) : void
Résultat void
        public void Int32GetBytes()
        {
            Int32 data = 42;

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

            Assert.AreElementsEqual(expected, actual);
        }