public void MmsValueDouble() { var val = new MmsValue((double)1234.5678); Assert.AreEqual(val.ToDouble(), (double)1234.5678); val.SetDouble((double)0.1234); Assert.AreEqual(val.ToDouble(), (double)0.1234); Assert.AreEqual(val.ToFloat(), (float)0.1234); }