- Timestamp:
- 09/27/10 17:31:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Tests/Util.cs
r4106 r4524 115 115 116 116 public static void IsValid(SymbolicExpressionTree tree) { 117 int reportedSize = tree.Size; 118 int actualSize = tree.IterateNodesPostfix().Count(); 119 Assert.AreEqual(actualSize, reportedSize); 120 117 121 foreach (var defunTreeNode in tree.Root.SubTrees.OfType<DefunTreeNode>()) { 118 122 int arity = defunTreeNode.NumberOfArguments;
Note: See TracChangeset
for help on using the changeset viewer.