Changeset 9885 for stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4
- Timestamp:
- 08/20/13 17:03:31 (11 years ago)
- Location:
- stable
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806-9807,9810
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/AllArchitectureAlteringOperatorsTest.cs
r9456 r9885 24 24 using System.Diagnostics; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;27 26 using HeuristicLab.Random; 28 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 29 28 30 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 31 30 [TestClass] 32 31 public class AllArchitectureAlteringOperatorsTest { … … 35 34 private const int MAX_TREE_LENGTH = 100; 36 35 private const int MAX_TREE_DEPTH = 10; 37 private TestContext testContextInstance;38 36 39 /// <summary> 40 ///Gets or sets the test context which provides 41 ///information about and functionality for the current test run. 42 ///</summary> 43 public TestContext TestContext { 44 get { 45 return testContextInstance; 46 } 47 set { 48 testContextInstance = value; 49 } 50 } 51 52 [TestMethod()] 37 [TestMethod] 53 38 [Timeout(3600000)] 39 [TestCategory("Encodings.SymbolicExpressionTree")] 40 [TestProperty("Time", "long")] 54 41 public void AllArchitectureAlteringOperatorsDistributionTest() { 55 42 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ArgumentCreaterTest.cs
r9456 r9885 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 30 [TestClass] 31 31 public class ArgumentCreaterTest { … … 33 33 private const int MAX_TREE_LENGTH = 100; 34 34 private const int MAX_TREE_DEPTH = 10; 35 private TestContext testContextInstance;36 35 37 /// <summary> 38 ///Gets or sets the test context which provides 39 ///information about and functionality for the current test run. 40 ///</summary> 41 public TestContext TestContext { 42 get { 43 return testContextInstance; 44 } 45 set { 46 testContextInstance = value; 47 } 48 } 49 50 [TestMethod()] 36 [TestMethod] 37 [TestCategory("Encodings.SymbolicExpressionTree")] 38 [TestProperty("Time", "long")] 51 39 public void ArgumentCreaterDistributionsTest() { 52 40 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ArgumentDeleterTest.cs
r9456 r9885 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 30 [TestClass] 31 31 public class ArgumentDeleterTest { … … 33 33 private const int MAX_TREE_LENGTH = 100; 34 34 private const int MAX_TREE_DEPTH = 10; 35 private TestContext testContextInstance;36 35 37 /// <summary> 38 ///Gets or sets the test context which provides 39 ///information about and functionality for the current test run. 40 ///</summary> 41 public TestContext TestContext { 42 get { 43 return testContextInstance; 44 } 45 set { 46 testContextInstance = value; 47 } 48 } 49 50 [TestMethod()] 36 [TestMethod] 37 [TestCategory("Encodings.SymbolicExpressionTree")] 38 [TestProperty("Time", "long")] 51 39 public void ArgumentDeleterDistributionsTest() { 52 40 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ArgumentDuplicaterTest.cs
r9456 r9885 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 30 [TestClass] 31 31 public class ArgumentDuplicaterTest { … … 33 33 private const int MAX_TREE_LENGTH = 100; 34 34 private const int MAX_TREE_DEPTH = 10; 35 private TestContext testContextInstance;36 35 37 /// <summary> 38 ///Gets or sets the test context which provides 39 ///information about and functionality for the current test run. 40 ///</summary> 41 public TestContext TestContext { 42 get { 43 return testContextInstance; 44 } 45 set { 46 testContextInstance = value; 47 } 48 } 49 50 [TestMethod()] 36 [TestMethod] 37 [TestCategory("Encodings.SymbolicExpressionTree")] 38 [TestProperty("Time", "long")] 51 39 public void ArgumentDuplicaterDistributionsTest() { 52 40 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ChangeNodeTypeManipulationTest.cs
r9456 r9885 26 26 using Microsoft.VisualStudio.TestTools.UnitTesting; 27 27 28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 29 29 [TestClass] 30 30 public class ChangeNodeTypeManipulationTest { … … 32 32 private const int MAX_TREE_LENGTH = 100; 33 33 private const int MAX_TREE_DEPTH = 10; 34 private TestContext testContextInstance;35 34 36 /// <summary> 37 ///Gets or sets the test context which provides 38 ///information about and functionality for the current test run. 39 ///</summary> 40 public TestContext TestContext { 41 get { 42 return testContextInstance; 43 } 44 set { 45 testContextInstance = value; 46 } 47 } 48 49 [TestMethod()] 35 [TestMethod] 36 [TestCategory("Encodings.SymbolicExpressionTree")] 37 [TestProperty("Time", "medium")] 50 38 public void ChangeNodeTypeManipulationDistributionsTest() { 51 39 SymbolicExpressionTreeStringFormatter formatter = new SymbolicExpressionTreeStringFormatter(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/FullTreeCreatorTest.cs
r9456 r9885 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 30 [TestClass] 31 31 public class FullTreeCreatorTest { … … 33 33 private const int MAX_TREE_DEPTH = 9; 34 34 private const int MAX_TREE_LENGTH = 256; 35 private TestContext testContextInstance;36 35 37 /// <summary> 38 ///Gets or sets the test context which provides 39 ///information about and functionality for the current test run. 40 ///</summary> 41 public TestContext TestContext { 42 get { 43 return testContextInstance; 44 } 45 set { 46 testContextInstance = value; 47 } 48 } 49 50 [TestMethod()] 36 [TestMethod] 37 [TestCategory("Encodings.SymbolicExpressionTree")] 38 [TestProperty("Time", "long")] 51 39 public void FullTreeCreatorDistributionsTest() { 52 40 var randomTrees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/Grammars.cs
r9456 r9885 24 24 using HeuristicLab.Problems.DataAnalysis.Symbolic; 25 25 26 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {26 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 27 27 public static class Grammars { 28 28 public static ISymbolicExpressionGrammar CreateSimpleArithmeticGrammar() { -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/GrowTreeCreatorTest.cs
r9456 r9885 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 30 [TestClass] 31 31 public class GrowTreeCreatorTest { … … 33 33 private const int MAX_TREE_DEPTH = 10; 34 34 private const int MAX_TREE_LENGTH = 50; 35 private TestContext testContextInstance;36 35 37 /// <summary> 38 ///Gets or sets the test context which provides 39 ///information about and functionality for the current test run. 40 ///</summary> 41 public TestContext TestContext { 42 get { 43 return testContextInstance; 44 } 45 set { 46 testContextInstance = value; 47 } 48 } 49 50 [TestMethod()] 36 [TestMethod] 37 [TestCategory("Encodings.SymbolicExpressionTree")] 38 [TestProperty("Time", "long")] 51 39 public void GrowTreeCreatorDistributionsTest() { 52 40 var randomTrees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ProbabilisticTreeCreaterTest.cs
r9456 r9885 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 30 [TestClass] 31 31 public class ProbabilisticTreeCreaterTest { … … 33 33 private const int MAX_TREE_LENGTH = 100; 34 34 private const int MAX_TREE_DEPTH = 10; 35 private TestContext testContextInstance;36 37 /// <summary>38 ///Gets or sets the test context which provides39 ///information about and functionality for the current test run.40 ///</summary>41 public TestContext TestContext {42 get {43 return testContextInstance;44 }45 set {46 testContextInstance = value;47 }48 }49 35 50 36 [TestMethod()] 37 [TestCategory("Encodings.SymbolicExpressionTree")] 38 [TestProperty("Time", "long")] 51 39 public void ProbabilisticTreeCreaterDistributionsTest() { 52 40 var randomTrees = new List<ISymbolicExpressionTree>(); … … 84 72 85 73 [TestMethod] 74 [TestCategory("Encodings.SymbolicExpressionTree")] 75 [TestProperty("Time", "short")] 86 76 public void ProbabilisticTreeCreatorSpecificTreeSizesTest() { 87 77 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/ReplaceBranchManipulationTest.cs
r9456 r9885 26 26 using Microsoft.VisualStudio.TestTools.UnitTesting; 27 27 28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 29 29 [TestClass] 30 30 public class ReplaceBranchManipulationTest { … … 32 32 private const int MAX_TREE_LENGTH = 100; 33 33 private const int MAX_TREE_DEPTH = 10; 34 private TestContext testContextInstance;35 34 36 /// <summary> 37 ///Gets or sets the test context which provides 38 ///information about and functionality for the current test run. 39 ///</summary> 40 public TestContext TestContext { 41 get { 42 return testContextInstance; 43 } 44 set { 45 testContextInstance = value; 46 } 47 } 48 49 [TestMethod()] 35 [TestMethod] 36 [TestCategory("Encodings.SymbolicExpressionTree")] 37 [TestProperty("Time", "long")] 50 38 public void ReplaceBranchManipulationDistributionsTest() { 51 39 SymbolicExpressionTreeStringFormatter formatter = new SymbolicExpressionTreeStringFormatter(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubroutineCreaterTest.cs
r9456 r9885 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;25 24 using HeuristicLab.Random; 26 25 using Microsoft.VisualStudio.TestTools.UnitTesting; 27 26 28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {27 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 29 28 [TestClass] 30 29 public class SubroutineCreaterTest { … … 32 31 private const int MAX_TREE_LENGTH = 100; 33 32 private const int MAX_TREE_DEPTH = 10; 34 private TestContext testContextInstance;35 33 36 /// <summary> 37 ///Gets or sets the test context which provides 38 ///information about and functionality for the current test run. 39 ///</summary> 40 public TestContext TestContext { 41 get { 42 return testContextInstance; 43 } 44 set { 45 testContextInstance = value; 46 } 47 } 48 49 [TestMethod()] 34 [TestMethod] 35 [TestCategory("Encodings.SymbolicExpressionTree")] 36 [TestProperty("Time", "long")] 50 37 public void SubroutineCreaterDistributionsTest() { 51 38 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubroutineDeleterTest.cs
r9456 r9885 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;26 25 using HeuristicLab.Random; 27 26 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 27 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 29 [TestClass] 31 30 public class SubroutineDeleterTest { … … 33 32 private const int MAX_TREE_LENGTH = 100; 34 33 private const int MAX_TREE_DEPTH = 10; 35 private TestContext testContextInstance;36 34 37 /// <summary> 38 ///Gets or sets the test context which provides 39 ///information about and functionality for the current test run. 40 ///</summary> 41 public TestContext TestContext { 42 get { 43 return testContextInstance; 44 } 45 set { 46 testContextInstance = value; 47 } 48 } 49 50 [TestMethod()] 35 [TestMethod] 36 [TestCategory("Encodings.SymbolicExpressionTree")] 37 [TestProperty("Time", "long")] 51 38 public void SubroutineDeleterDistributionsTest() { 52 39 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubroutineDuplicaterTest.cs
r9456 r9885 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;26 25 using HeuristicLab.Random; 27 26 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 27 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 29 [TestClass] 31 30 public class SubroutineDuplicaterTest { … … 33 32 private const int MAX_TREE_LENGTH = 100; 34 33 private const int MAX_TREE_DEPTH = 10; 35 private TestContext testContextInstance;36 34 37 /// <summary> 38 ///Gets or sets the test context which provides 39 ///information about and functionality for the current test run. 40 ///</summary> 41 public TestContext TestContext { 42 get { 43 return testContextInstance; 44 } 45 set { 46 testContextInstance = value; 47 } 48 } 49 50 [TestMethod()] 35 [TestMethod] 36 [TestCategory("Encodings.SymbolicExpressionTree")] 37 [TestProperty("Time", "long")] 51 38 public void SubroutineDuplicaterDistributionsTest() { 52 39 var trees = new List<ISymbolicExpressionTree>(); -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/SubtreeCrossoverTest.cs
r9456 r9885 23 23 using System.Collections.Generic; 24 24 using System.Diagnostics; 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;26 25 using HeuristicLab.Random; 27 26 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 27 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 29 [TestClass] 31 30 public class SubtreeCrossoverTest { 32 31 private const int POPULATION_SIZE = 1000; 33 private TestContext testContextInstance;34 32 35 /// <summary> 36 ///Gets or sets the test context which provides 37 ///information about and functionality for the current test run. 38 ///</summary> 39 public TestContext TestContext { 40 get { 41 return testContextInstance; 42 } 43 set { 44 testContextInstance = value; 45 } 46 } 47 48 [TestMethod()] 33 [TestMethod] 34 [TestCategory("Encodings.SymbolicExpressionTree")] 35 [TestProperty("Time", "long")] 49 36 public void SubtreeCrossoverDistributionsTest() { 50 37 int generations = 5; -
stable/HeuristicLab.Tests/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4/Util.cs
r9456 r9885 27 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests {29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests { 30 30 public static class Util { 31 31 public static string GetSizeDistributionString(IList<ISymbolicExpressionTree> trees, int maxTreeLength, int binSize) {
Note: See TracChangeset
for help on using the changeset viewer.