Exemple #1
0
 public Calculator(IDoMath doMath)
 {
     if (doMath == null) throw new ArgumentException("A math delegate must be provided");
     this.doMath = doMath;
 }
 public void TestTearDown()
 {
     idm = null;
 }
Exemple #3
0
 public Calculator()
 {
     doMath = new DoMath();
 }
 public void TestSetUp()
 {
     idm = new Math();
 }