コード例 #1
0
        public void Clones_Have_Same_Value()
        {
            FloatParameter p0 = new FloatParameter("id", null, 784.4243f);
            FloatParameter p1 = p0.Clone() as FloatParameter;

            Assert.AreEqual((float)p0.GetValue(), (float)p1.GetValue(), 0.001f);
        }