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