ParseFile() 공개 메소드

public ParseFile ( string filename ) : void
filename string
리턴 void
예제 #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;
        }
예제 #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;
 }
예제 #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;
 }