public void DoubleTest( ) { SoftBuffer softBuffer = new SoftBuffer(1000); softBuffer.SetValue(new double[] { 123456d, -12345d, 231412d }, 328); double[] read = softBuffer.GetDouble(328, 3); Assert.IsTrue(read[0] == 123456d && read[1] == -12345d && read[2] == 231412d); }