示例#1
0
文件: Update.cs 项目: tshcha/Dynamo
        public void T011_Update_Of_Variable_To_Null()
        {
            string src = @"x = 1;
y = 2/x;
x = 0;
v1 = 2;
v2 = v1 * 3;
v1 = null;";

            thisTest.VerifyRunScriptSource(src);
            TestFrameWork.AssertInfinity("y");
            thisTest.Verify("v2", null);
        }