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

DoubleSetBytes() private method

private DoubleSetBytes ( ) : void
return void
        public void DoubleSetBytes()
        {
            Double expected = System.Math.PI;

            byte[] data = new byte[]
                              {
                                  24, 45, 68, 84, 251, 33, 9, 64
                              };
            Double actual = BitConverterEx.SetBytes<Double>(data);

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