public void TestLoopVarSetting()
 {
     var c = new CodeContext();
     var v = Expression.Variable(typeof(int), "d");
     c.SetLoopVariable(v, null);
     Assert.AreEqual(v, c.LoopVariable, "set didn't work");
 }
        public void TestLoopVarSetting()
        {
            var c = new CodeContext();
            var v = Expression.Variable(typeof(int), "d");

            c.SetLoopVariable(v, null);
            Assert.AreEqual(v, c.LoopVariable, "set didn't work");
        }
        public void TestLoopVarSetNull()
        {
            var c = new CodeContext();

            c.SetLoopVariable(null, null);
        }
 public void TestLoopVarSetNull()
 {
     var c = new CodeContext();
     c.SetLoopVariable(null, null);
 }