Changeset 11203 for branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab-3.3/CollectObjectGraphTest.cs
- Timestamp:
- 07/18/14 12:35:00 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll11 10 HeuristicLab 3.3.5.1.ReSharper.user 12 11 HeuristicLab 3.3.6.0.ReSharper.user 13 12 HeuristicLab.4.5.resharper.user 14 13 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development16 14 HeuristicLab.resharper.user 17 15 ProtoGen.exe … … 19 17 _ReSharper.HeuristicLab 20 18 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests22 19 _ReSharper.HeuristicLab.ExtLibs 23 20 bin 24 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HiveStatistics/sources/HeuristicLab.Tests
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab-3.3/CollectObjectGraphTest.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 31 31 using HeuristicLab.Persistence.Default.Xml; 32 32 using HeuristicLab.Problems.TestFunctions; 33 using HeuristicLab.SequentialEngine; 33 34 using Microsoft.VisualStudio.TestTools.UnitTesting; 34 35 35 namespace HeuristicLab .Tests {36 namespace HeuristicLab_33.Tests { 36 37 [TestClass] 37 38 public class CollectObjectGraphTest { … … 44 45 45 46 [TestMethod] 46 [TestCategory("General")] 47 [TestCategory("Essential")] 48 [TestProperty("Time", "medium")] 47 [DeploymentItem(@"HeuristicLab-3.3/Resources/GA_SymbReg.hl")] 49 48 public void CollectGASample() { 50 GeneticAlgorithm ga = (GeneticAlgorithm)XmlParser.Deserialize( @"Test Resources\GA_SymbReg.hl");49 GeneticAlgorithm ga = (GeneticAlgorithm)XmlParser.Deserialize("GA_SymbReg.hl"); 51 50 52 51 Stopwatch watch = new Stopwatch(); … … 96 95 /// </summary> 97 96 [TestMethod] 98 [TestCategory("General")]99 [TestProperty("Time", "long")]100 97 public void AlgorithmExecutions() { 101 98 var algs = new List<IAlgorithm>(); … … 106 103 ga.PopulationSize.Value = 5; 107 104 ga.MaximumGenerations.Value = 5; 108 ga.Engine = new SequentialEngine .SequentialEngine();105 ga.Engine = new SequentialEngine(); 109 106 ga.Problem = new SingleObjectiveTestFunctionProblem(); 110 107 … … 124 121 /// </summary> 125 122 [TestMethod] 126 [TestCategory("General")]127 [TestProperty("Time", "medium")]128 123 public void ParallelAlgorithmExecutions() { 129 124 int n = 60; … … 138 133 ga.PopulationSize.Value = 5; 139 134 ga.MaximumGenerations.Value = 5; 140 ga.Engine = new SequentialEngine .SequentialEngine();135 ga.Engine = new SequentialEngine(); 141 136 ga.Problem = new SingleObjectiveTestFunctionProblem(); 142 137 ga.Prepare(true);
Note: See TracChangeset
for help on using the changeset viewer.