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