public void Eval_evalIndexes_IndexesValid_RecsetName_Complex() { //------------Setup for test-------------------------- var env = CreateEnvironmentWithData(); //------------Execute Test--------------------------- var res = EvaluationFunctions.evalIndexes(env, 0, " [[Rec()]][[Rec().a]]"); //------------Assert Results------------------------- var enumerable = res as int[] ?? res.ToArray(); Assert.AreEqual(enumerable.ToArray()[0], 1); Assert.AreEqual(enumerable.ToArray()[1], 2); Assert.AreEqual(enumerable.ToArray()[2], 3); }