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

DoubleGetBytes() private method

private DoubleGetBytes ( ) : void
return void
        public void DoubleGetBytes()
        {
            Double data = System.Math.PI;

            byte[] expected = new byte[]
                              {
                                  24, 45, 68, 84, 251, 33, 9, 64
                              };
            byte[] actual = BitConverterEx.GetBytes(data);

            Assert.AreElementsEqual(expected, actual);
        }