示例#1
0
 public virtual void TestAmMetrics()
 {
     System.Diagnostics.Debug.Assert((metrics != null));
     NUnit.Framework.Assert.IsTrue(!metrics.aMLaunchDelay.Changed());
     NUnit.Framework.Assert.IsTrue(!metrics.aMRegisterDelay.Changed());
     metrics.AddAMLaunchDelay(1);
     metrics.AddAMRegisterDelay(1);
     NUnit.Framework.Assert.IsTrue(metrics.aMLaunchDelay.Changed());
     NUnit.Framework.Assert.IsTrue(metrics.aMRegisterDelay.Changed());
 }