AjScript.Tests.EvaluationTests.SetUndefinedVar C# (CSharp) Method

SetUndefinedVar() private method

private SetUndefinedVar ( ) : void
return void
        public void SetUndefinedVar()
        {
            this.EvaluateCommands("x = 1+2;");
            Assert.AreEqual(3, this.machine.Context.GetValue("x"));
        }
EvaluationTests