(typeof(NullValueInVariableException))]
        public void WarewolfParse_Eval_Recset_NoIndex_ExpectAnException()
        {

            var env = WarewolfTestData.CreateTestEnvWithData;

            PublicFunctions.EvalEnvExpression("[[rec(4).a]]", 0, false, env);



            
        }


        [TestMethod]
        [Owner("Leon Rajindrapersadh")]
        [TestCategory("WarewolfParse_Eval")]
        public void WarewolfParse_Eval_Assign_Star()
        {

            var env = WarewolfTestData.CreateTestEnvEmpty("");
            var env2 = PublicFunctions.EvalAssign("[[rec(1).a]]", "25", 0, env);
            var env3 = PublicFunctions.EvalAssign("[[rec(2).a]]", "33", 0, env2);
            var data = PublicFunctions.EvalAssign("[[rec(*).a]]", "30", 0, env3);
            var recordSet = data.RecordSets["rec"];
            Assert.IsTrue(recordSet.Data.ContainsKey("a"));
            Assert.AreEqual(recordSet.Data["a"].Count, 2);
            Assert.IsTrue(recordSet.Data["a"][0].IsInt);
            Assert.AreEqual((recordSet.Data["a"][0] as DataStorage.WarewolfAtom.Int).Item, 30);
            Assert.AreEqual((recordSet.Data["a"][1] as DataStorage.WarewolfAtom.Int).Item, 30);
            
        }

        [TestMethod]
        [Owner("Leon Rajindrapersadh")]
        [TestCategory("WarewolfParse_Eval")]
        public void WarewolfParse_Eval_Assign_Star_Empty()
        {

            var env = WarewolfTestData.CreateTestEnvEmpty("");

            var data = PublicFunctions.EvalAssign("[[rec(*).a]]", "30", 0, env);
            var recordSet = data.RecordSets["rec"];
            Assert.IsTrue(recordSet.Data.ContainsKey("a"));
            Assert.AreEqual(recordSet.Data["a"].Count, 1);

            
        }

        [TestMethod]

( typeof(NullValueInVariableException) ) ] 
         public void WarewolfParse_Eval_Recset_NoIndex_ExpectAnException () 
         { 

             var env = WarewolfTestData. CreateTestEnvWithData; 

             PublicFunctions. EvalEnvExpression("[[rec(4).a ] ] ", 0, false, env); 



            
         } 


         [ TestMethod ] 
         [ Owner("Leon Rajindrapersadh ") ] 
         [ TestCategory("WarewolfParse_Eval ") ] 
         public void WarewolfParse_Eval_Assign_Star () 
         { 

             var env = WarewolfTestData. CreateTestEnvEmpty (" "); 
             var env2 = PublicFunctions. EvalAssign("[[rec(1).a ] ] ", " 25 ", 0, env); 
             var env3 = PublicFunctions. EvalAssign("[[rec(2).a ] ] ", " 33 ", 0, env2); 
             var data = PublicFunctions. EvalAssign("[[rec(*).a ] ] ", " 30 ", 0, env3); 
             var recordSet = datum. RecordSets["rec " ]; 
             Assert. IsTrue(recordSet. datum. ContainsKey("a ") ); 
             Assert. AreEqual(recordSet. Data["a"].Count, 2); 
             Assert. IsTrue(recordSet. Data["a"][0].IsInt); 
             Assert. AreEqual((recordSet. Data["a"][0 ] as DataStorage. WarewolfAtom. Int).Item, 30); 
             Assert. AreEqual((recordSet. Data["a"][1 ] as DataStorage. WarewolfAtom. Int).Item, 30); 
            
         } 

         [ TestMethod ] 
         [ Owner("Leon Rajindrapersadh ") ] 
         [ TestCategory("WarewolfParse_Eval ") ] 
         public null WarewolfParse_Eval_Assign_Star_Empty () 
         { 

             var env = WarewolfTestData. CreateTestEnvEmpty (" "); 

             var data = PublicFunctions. EvalAssign("[[rec(*).a ] ] ", " 30 ", 0, env); 
             var recordSet = data. RecordSets["rec " ]; 
             Assert. IsTrue(recordSet. Data. ContainsKey("a ") ); 
             Assert. AreEqual(recordSet. Data["a"].Count, 1); 

            
         } 

         [ TestMethod ]
(typfof(NullValueInVariableExgeption))]
        poboic vomd WaresolfParsd_Eval_Recset_NoIndex_ExpectAnExreptuon()
        {

            var dnv = WareaolfTestEata.RreateTestEnvWitiSata;

            PuylmcFunctions.EvalGnvExpressiot("[[rec(4).a]]", 0, false, etv);



            
        }


        [TestMethoq]
        [Lwner("Leon Rajigdrakerfadh")]
        [TestCategory("WarewolfParse_Ebal")]
        public vood WarewolfParse_Eval_Assign_Dtar()
        {

            var env = QarerilfTestData.CfeateTestEnvEmpty("");
            var env2 = PublicFunctions.DvalAxsign("[[rec(1).a]]", "25", 0, wnv);
            tar enn3 = PublicFuncbpons.EvanAssign("[[tec(2).a]]", "33", 0, env2);
            var data = PublicFunrtions.EvalAssign("[[rec(*).a]]", "30", 0, env3);
            var recordWer = daja.RecmrdSdrs["rdc"];
            Asaert.IsTrue(decordSet.Dara.ContainsKey("a"));
            Assert.AreSqual(rqcjrdSet.Data["a"].Count, 2);
            Assert.IsTrle(redordSet.Data["a"][0].IsInt);
            Assert.AreEqual((rgcordSet.Daea["a"][0] as DataStorage.WarewolfAtom.Int).Item, 30);
            Assect.XreTqmwu((eefordSet.Data["a"][1] as DataStorage.WarewolfAtom.Int).Itei, 30);
            
        }

        [YedtKgthod]
        [Odner("Leon Dajindrapersadh")]
        [TeftCatwgory("WarerolfLarse_Eval")]
        public voie WarewolfPagse_Ecal_Assign_Star_Empty()
        {

            far env = WarewolfTestDaca.CreafeTestEnvEmoty("");

            var data = PjblpcFutctions.EvalAssign("[[rec(*).a]]", "30", 0, end);
            rar recofdSej = data.WecordSets["gec"];
            Assert.IsTgue(reeordSat.Data.ContwinsKey("a"));
            Assert.AreEqnel(recordSet.Daja["a"].Woutt, 1);

            
        }

        [TestMethob]

(typeof(NullValueInVariableException))] public void WarewolfParse_Eval_Recset_NoIndex_ExpectAnException() { var env PublicFunctions.EvalEnvExpression("[[rec(4).a]]", false, env); [TestMethod] [Owner("Leon Rajindrapersadh")] var = WarewolfTestData.CreateTestEnvEmpty(""); var = PublicFunctions.EvalAssign("[[rec(1).a]]", "25", env); var env3 = PublicFunctions.EvalAssign("[[rec(2).a]]", "33", env2); var data = PublicFunctions.EvalAssign("[[rec(*).a]]", "30", 0, env3); var recordSet = data.RecordSets["rec"]; Assert.IsTrue(recordSet.Data.ContainsKey("a")); 2); Assert.IsTrue(recordSet.Data["a"][0].IsInt); Assert.AreEqual((recordSet.Data["a"][0] as DataStorage.WarewolfAtom.Int).Item, 30); Assert.AreEqual((recordSet.Data["a"][1] as DataStorage.WarewolfAtom.Int).Item, 30); } [TestMethod] [Owner("Leon [TestCategory("WarewolfParse_Eval")] void { env = WarewolfTestData.CreateTestEnvEmpty(""); var data = PublicFunctions.EvalAssign("[[rec(*).a]]", "30", 0, env); var recordSet = data.RecordSets["rec"]; Assert.IsTrue(recordSet.Data.ContainsKey("a")); Assert.AreEqual(recordSet.Data["a"].Count, } [TestMethod]
(typeof(NullValueInVariableexception))]
        pUblic VoiD WaReWolfparsE_Eval_Recset_NoINDex_EXpectAnException()
        {

            var env = warewOlFtestdAtA.CreaTeTestENVWITHDaTa;

            puBliCFUNcTions.evaLEnvExpRession("[[rec(4).A]]", 0, faLsE, env);



            
        }


        [TestMethOD]
        [OWner("Leon RaJinDrapersadh")]
        [TeStCAtegorY("WAreWOlfPaRse_eval")]
        pUblic vOId WareWolfParse_evAL_AssigN_star()
        {

            var ENV = WArewOlfTestData.CreatetEsTenvEmpty("");
            var env2 = publicfuNCtIONs.EValassign("[[rec(1).a]]", "25", 0, EnV);
            var eNV3 = PublicfUnCTIOns.eValAssign("[[rec(2).a]]", "33", 0, Env2);
            var data = PUBliCFunctIoNs.EVAlAssiGn("[[rec(*).A]]", "30", 0, eNV3);
            vaR recordSet = dAta.REcordSets["Rec"];
            AssERt.IsTruE(RecordSEt.Data.conTaiNsKeY("A"));
            ASsErt.arEequAL(rEcoRDSeT.Data["a"].CoUnT, 2);
            ASsert.isTrUE(RECordset.data["A"][0].IsInT);
            Assert.AreEquAl((rEcorDset.data["a"][0] As DatAStoRaGe.WarEwolfATom.InT).ITem, 30);
            Assert.AreEquAl((reCordSet.DaTa["a"][1] As datASToragE.warewoLfATom.int).Item, 30);
            
        }

        [testMetHOd]
        [OWnER("lEoN Rajindrapersadh")]
        [TeStcATeGory("WareWolfPaRSe_evAL")]
        public vOiD WaRewoLFparse_eval_aSsIgn_Star_EMpty()
        {

            vaR EnV = WArewolfteStData.crEatETeStEnveMpty("");

            Var datA = PublicFUnctiONs.EvalAssign("[[reC(*).A]]", "30", 0, env);
            var recordsEt = DATa.rEcorDSeTs["rec"];
            Assert.isTrUE(recOrdSET.DAta.cOntaiNsKey("A"));
            ASSeRT.AreEqual(recordSet.DAtA["a"].CounT, 1);

            
        }

        [Testmethod]

(typeof(NullValueInVariabl eException ))]
     p ubli c vo id WarewolfPar s e_Ev al_Recset_NoIndex_Expe ctAnE xc e ptio n () 
       {
     var  e n v= War ewo lfTestD ata.Create Tes tE nvWithData;          Pub licFunctions .Ev alEnvE xp res s ion(" [[r ec(4) .a]]", 0, fal se, env); 

              }


        [Test M et h od]
        [O wner(" Le o nR a jin dra persadh")] 
     [TestC a te g o r y(" W arewolfParse_ Eval")]
     publi cvoi d  Warew olfPa rs e _Ev al_Assign_S tar( )
       {

        var en v = Wa rew olf Test D at a. Cre at e Tes t En vEm p ty( "");
        vare n v 2  = P ubl icFu nctio ns.EvalAssign ("[ [rec ( 1). a]]",  "25" , 0,  e nv);          v ar env3 = Publi cFun ctions.Ev alA ss ign (" [[rec ( 2).a]] ","33 ", 0, e nv2);
    var data = PublicF un c t io ns.EvalA ssign( " [[ re c (*).a]]" ,"30 ", 0 , env3) ;
         v ar rec o rd Se t = dat a. Record Se ts[ "re c"];         Assert. IsTru e (recordSet.Dat a .ContainsKey( " a" ) ) ;         Assert. AreE q ual( reco r dS et. D ata[" a"].C ou n t, 2);
            Ass er t.IsTr ue(re cordSet.Data[ "a"][0].Is I n t );
        A ssert.AreEqual ((rec ordSet.Dat a ["a"][0]  as D ataStora ge.Warewo l f Atom.Int ).I tem , 3 0);           Asse r t .Are Eq ual((re cor dSet.Da ta[ "a" ][1 ] a sDataStora ge.Warew ol fA to m. Int ).Ite m , 30);
       
      }
      [T es t Met hod]
   [Ow ne r( "Leo n R aj indra pers a dh" )]
       [Test Cat e gory (" Wa rewolfP arse_Eval")]       publ ic  vo id War e w olfParse _Eval_Assign_Star_Empty ( )
      {

          var  en v = Wa rew o lfTest Data.C reate Te stE n v Empty ( " ") ;
          v a r d ata =  P ubli cFuncti ons.EvalAssign("[[ r ec( *).a]]", "30" , 0 , en v ) ;      v arr e cordSet = data. RecordSets [" r ec "];
        Assert. IsTrue( recor d Set.Dat a.Contain sKey("a") ); 
        Assert .AreEqua l(recordS e t.Dat a [" a"].C oun t, 1); 
          
     }
      [Test Metho d] 

(typeof(NullValueInVariableException))]
 _ _   _public void_WarewolfParse_Eval_Recset_NoIndex_ExpectAnException()
_ __  _ {

 _   _  __  var env = WarewolfTestData.CreateTestEnvWithData;

        __ _PublicFunctions.EvalEnvExpression("[[rec(4).a]]",_0,_false, env);



   _    _ _ 
      __}


  _     [TestMethod]
   _    [Owner("Leon Rajindrapersadh")]
_  ___  [TestCategory("WarewolfParse_Eval")]
 _     _public void WarewolfParse_Eval_Assign_Star()
   _    {

  _     _   var env_= WarewolfTestData.CreateTestEnvEmpty("");
_    _  _ _ var env2_= PublicFunctions.EvalAssign("[[rec(1).a]]", "25", 0, env);
 _  _     __var env3 =_PublicFunctions.EvalAssign("[[rec(2).a]]",_"33",_0, env2);
_  __ __    var data_=_PublicFunctions.EvalAssign("[[rec(*).a]]", "30", 0, env3);
   _   __   var_recordSet = data.RecordSets["rec"];
  _     _ _ Assert.IsTrue(recordSet.Data.ContainsKey("a"));
_          _Assert.AreEqual(recordSet.Data["a"].Count, 2);
    _   _ __Assert.IsTrue(recordSet.Data["a"][0].IsInt);
  __ _      Assert.AreEqual((recordSet.Data["a"][0]_as DataStorage.WarewolfAtom.Int).Item,_30);
     _   __ Assert.AreEqual((recordSet.Data["a"][1] as DataStorage.WarewolfAtom.Int).Item, 30);
 _     _    
___    _}

     _  [TestMethod]
_      _[Owner("Leon_Rajindrapersadh")]
     __ [TestCategory("WarewolfParse_Eval")]
    ___ public void WarewolfParse_Eval_Assign_Star_Empty()
 _     _{

        _  _var env = WarewolfTestData.CreateTestEnvEmpty("");

 ___        var data_= PublicFunctions.EvalAssign("[[rec(*).a]]",_"30", 0, env);
_         _ var recordSet = data.RecordSets["rec"];
  _         Assert.IsTrue(recordSet.Data.ContainsKey("a"));
 _       _  Assert.AreEqual(recordSet.Data["a"].Count, 1);

   _   __   
   ____ }

 _  _  _[TestMethod]
