Esempio n. 1
0
        public void TestGetParamFloatOK()
        {
            Out123 handle = new Out123();

            handle.SetParamFloat(Out123.Params.GAIN, 5.0);
            double result = handle.GetParamFloat(Out123.Params.GAIN);

            Assert.AreEqual(5, result);
        }
Esempio n. 2
0
        public void TestGetParamFloatOK()
        {
            Out123 handle = new Out123();

            handle.SetParamFloat(Out123.Params.GAIN, 5.0);
            double result = handle.GetParamFloat(Out123.Params.GAIN);

            Assert.AreEqual(5, result);
            //Test should work. Strange behavior just with the double value. Maybe Bug in Out123?!?!
        }