示例#1
0
            public void Value_WhenClonedValueChanges_Unchanged()
            {
                var expression = new ValueExpression <object>(1.0);
                var clone      = (ValueExpression <object>)expression.Clone();

                clone.Value = 2.0;

                Assert.That(expression.Value, Is.EqualTo(1.0));
                Assert.That(clone.Value, Is.EqualTo(2.0));
            }