Esempio n. 1
0
 public Adapter Constructor01(Distributions target)
 {
     Adapter target01 = new Adapter(target);
     return target01;
     // TODO: add assertions to method AdapterTest.Constructor01(Distributions)
 }
Esempio n. 2
0
 /// <summary>
 ///  Adapter-Target
 /// </summary>
 /// <param name="target"></param>
 public Adapter(Distributions target)
 {
     // Set the delegate to the existing standard
     //Request = (arg => target.Estimate(arg));
     m_NormCdf = ((double arg) => new Distributions().NormCdf(arg));
     m_Distributions = target;
 }