Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/02/17 22:03:01 (7 years ago)
Author:
pkimmesw
Message:

#2665 Removed "this" qualifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Tests/Interpreter/ExpressionTest.cs

    r14744 r14908  
    1212    [TestInitialize]
    1313    public void BeforeTest() {
    14       this.interpreter = new PushInterpreter(configuration);
     14      interpreter = new PushInterpreter(configuration);
    1515    }
    1616
     
    2222      int? floatStack = 0,
    2323      int? integerStack = 0) {
    24       if (execStack.HasValue) Assert.AreEqual(execStack, this.interpreter.ExecStack.Count);
     24      if (execStack.HasValue) Assert.AreEqual(execStack, interpreter.ExecStack.Count);
    2525
    26       if (codeStack.HasValue) Assert.AreEqual(codeStack, this.interpreter.CodeStack.Count);
     26      if (codeStack.HasValue) Assert.AreEqual(codeStack, interpreter.CodeStack.Count);
    2727
    28       if (nameStack.HasValue) Assert.AreEqual(nameStack, this.interpreter.NameStack.Count);
     28      if (nameStack.HasValue) Assert.AreEqual(nameStack, interpreter.NameStack.Count);
    2929
    30       if (booleanStack.HasValue) Assert.AreEqual(booleanStack, this.interpreter.BooleanStack.Count);
     30      if (booleanStack.HasValue) Assert.AreEqual(booleanStack, interpreter.BooleanStack.Count);
    3131
    32       if (floatStack.HasValue) Assert.AreEqual(floatStack, this.interpreter.FloatStack.Count);
     32      if (floatStack.HasValue) Assert.AreEqual(floatStack, interpreter.FloatStack.Count);
    3333
    34       if (integerStack.HasValue) Assert.AreEqual(integerStack, this.interpreter.IntegerStack.Count);
     34      if (integerStack.HasValue) Assert.AreEqual(integerStack, interpreter.IntegerStack.Count);
    3535    }
    3636  }
Note: See TracChangeset for help on using the changeset viewer.