示例#1
0
 public void SetUp()
 {
     mParenthesesCounter = new ParenthesesCounter();
     mAdditiveCounter    = new AdditiveCounter();
     mTreeDepthCounter   = new TreeDepthCounter();
     mExpressionCounter  = new ExpressionCounter();
     mTreeDepthSetter    = new TreeDepthSetter();
     mUnderTest          = new AggregateEvaluator(mParenthesesCounter, mAdditiveCounter, mTreeDepthCounter,
                                                  mExpressionCounter, mTreeDepthSetter);
 }
示例#2
0
 public void SetUp()
 {
     mUnderTest = new ExpressionCounter();
 }