Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public void SetUp()
 {
     mUnderTest = new ExpressionCounter();
 }