Changeset 14908 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Tests/Interpreter/ExpressionTest.cs
- Timestamp:
- 05/02/17 22:03:01 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Tests/Interpreter/ExpressionTest.cs
r14744 r14908 12 12 [TestInitialize] 13 13 public void BeforeTest() { 14 this.interpreter = new PushInterpreter(configuration);14 interpreter = new PushInterpreter(configuration); 15 15 } 16 16 … … 22 22 int? floatStack = 0, 23 23 int? integerStack = 0) { 24 if (execStack.HasValue) Assert.AreEqual(execStack, this.interpreter.ExecStack.Count);24 if (execStack.HasValue) Assert.AreEqual(execStack, interpreter.ExecStack.Count); 25 25 26 if (codeStack.HasValue) Assert.AreEqual(codeStack, this.interpreter.CodeStack.Count);26 if (codeStack.HasValue) Assert.AreEqual(codeStack, interpreter.CodeStack.Count); 27 27 28 if (nameStack.HasValue) Assert.AreEqual(nameStack, this.interpreter.NameStack.Count);28 if (nameStack.HasValue) Assert.AreEqual(nameStack, interpreter.NameStack.Count); 29 29 30 if (booleanStack.HasValue) Assert.AreEqual(booleanStack, this.interpreter.BooleanStack.Count);30 if (booleanStack.HasValue) Assert.AreEqual(booleanStack, interpreter.BooleanStack.Count); 31 31 32 if (floatStack.HasValue) Assert.AreEqual(floatStack, this.interpreter.FloatStack.Count);32 if (floatStack.HasValue) Assert.AreEqual(floatStack, interpreter.FloatStack.Count); 33 33 34 if (integerStack.HasValue) Assert.AreEqual(integerStack, this.interpreter.IntegerStack.Count);34 if (integerStack.HasValue) Assert.AreEqual(integerStack, interpreter.IntegerStack.Count); 35 35 } 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.