示例#1
0
 /// <summary>
 /// Reset the implementation and the model
 /// </summary>
 /// <exception cref="ConformanceTesterException">Is thrown when Reset fails</exception>
 public void Reset()
 {
     try
     {
         impl.Reset();
         model.Reset();
         if (observations != null)
         {
             observations.Clear();
         }
     }
     catch (Exception e)
     {
         throw new ConformanceTesterException("Reset failed: " + e.Message, e);
     }
 }