Пример #1
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);
        }
Пример #2
0
 public void ScopeSize()
 {
     Daisy daisy = GetInitDaisy();
     Assert.AreEqual(4, daisy.ScopeSize());
 }
Пример #3
0
 public void GetScope()
 {
     Daisy daisy = GetInitDaisy();
     Assert.Greater(daisy.ScopeSize(),0);
     Scope scope = daisy.GetScope(0);
 }
Пример #4
0
 public uint ScopeSize()
 {
     return(_daisyEngine.ScopeSize());
 }