예제 #1
0
        public void CheckValidValue()
        {
            PropertyManager propertyManager = new PropertyManager();

            var propValue = new PropertyValue("Test01", propertyManager);

            propValue.SetValue(10.0);
            Assert.AreEqual(0, propValue.GetValue());
            Assert.AreEqual("constant value 0", propValue.GetName());
            Assert.AreEqual(true, propValue.IsConstant());
        }