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