Beispiel #1
0
        public void MmsValueFloat()
        {
            var val = new MmsValue((float)1234.5678);

            Assert.AreEqual(val.ToFloat(), (float)1234.5678);

            val.SetFloat((float)0.1234);

            Assert.AreEqual(val.ToFloat(), (float)0.1234);

            Assert.AreEqual(val.ToDouble(), (double)0.1234, (double)0.0001);
        }