ParseFile() public method

public ParseFile ( string filename ) : void
filename string
return void
Esempio n. 1
0
        static Frame GetInitFrame()
        {
            Daisy daisy = new Daisy();
            daisy.ParseFile("../../DaisyData/test_check.dai");
            daisy.Initialize();
            daisy.Start();
            daisy.TickTime();

            Frame frame = daisy.ProgramFrame();
            return frame;
        }
Esempio n. 2
0
 static Daisy GetInitDaisy()
 {
     Daisy daisy = new Daisy();
     daisy.ParseFile("../../DaisyData/test_check.dai");
     if(DLL.daisy_daisy_done(daisy.daisy))
     {
         DLL.daisy_daisy_delete(daisy.daisy);
         throw new ApplicationException("No daisy");
     }
     daisy.Initialize();
     return daisy;
 }
Esempio n. 3
0
 static Scope GetInitScope()
 {
     Daisy daisy = new Daisy();
     daisy.ParseFile("../../DaisyData/test_check.dai");
     daisy.Initialize();
     daisy.Start();
     daisy.TickTime();
     Assert.Greater(daisy.ScopeSize(), 3);
     Scope scope = daisy.GetScope(0);
     return scope;
 }