Changeset 12869 for branches/crossvalidation-2434/HeuristicLab.Tests
- Timestamp:
- 08/17/15 16:35:47 (9 years ago)
- Location:
- branches/crossvalidation-2434
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434
- Property svn:mergeinfo changed
/trunk/sources merged: 12835-12837,12839,12844-12846,12851,12855,12868
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 12836,12844
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.Tests/HeuristicLab-3.3/Samples/VnsOpSampleTest.cs
r12820 r12869 37 37 [TestCategory("Samples.Create")] 38 38 [TestProperty("Time", "medium")] 39 public void CreateVns TspSampleTest() {40 var vns = CreateVns TspSample();39 public void CreateVnsOpSampleTest() { 40 var vns = CreateVnsOpSample(); 41 41 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 42 42 XmlGenerator.Serialize(vns, path); … … 45 45 [TestCategory("Samples.Execute")] 46 46 [TestProperty("Time", "long")] 47 public void RunVns TspSampleTest() {48 var vns = CreateVns TspSample();47 public void RunVnsOpSampleTest() { 48 var vns = CreateVnsOpSample(); 49 49 vns.SetSeedRandomly = false; 50 50 SamplesUtils.RunAlgorithm(vns); … … 55 55 } 56 56 57 private VariableNeighborhoodSearch CreateVns TspSample() {57 private VariableNeighborhoodSearch CreateVnsOpSample() { 58 58 VariableNeighborhoodSearch vns = new VariableNeighborhoodSearch(); 59 59 #region Problem Configuration -
branches/crossvalidation-2434/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/FullTreeCreatorTest.cs
r12012 r12869 53 53 foreach (var tree in randomTrees) { 54 54 Util.IsValid(tree); 55 Assert.IsTrue(tree.Depth == MAX_TREE_DEPTH);55 Assert.IsTrue(tree.Depth-1 == MAX_TREE_DEPTH); 56 56 if (maxLength < tree.Length) 57 57 maxLength = tree.Length;
Note: See TracChangeset
for help on using the changeset viewer.