Changeset 11202 for branches/HiveStatistics/sources/HeuristicLab.Tests/HeuristicLab.Encodings.RealVectorEncoding-3.3/PolynomialOnePositionManipulatorTest.cs
- Timestamp:
- 07/18/14 12:01:13 (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.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests23 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.Encodings.RealVectorEncoding-3.3/PolynomialOnePositionManipulatorTest.cs
r7259 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Data; 23 using HeuristicLab.Encodings.RealVectorEncoding;24 23 using HeuristicLab.Tests; 25 24 using Microsoft.VisualStudio.TestTools.UnitTesting; 26 25 27 namespace HeuristicLab.Encodings.RealVectorEncoding _33.Tests {26 namespace HeuristicLab.Encodings.RealVectorEncoding.Tests { 28 27 /// <summary> 29 28 ///This is a test class for PolynomialOnePositionManipulator and is intended … … 32 31 [TestClass()] 33 32 public class PolynomialOnePositionManipulatorTest { 34 35 36 private TestContext testContextInstance;37 38 /// <summary>39 ///Gets or sets the test context which provides40 ///information about and functionality for the current test run.41 ///</summary>42 public TestContext TestContext {43 get {44 return testContextInstance;45 }46 set {47 testContextInstance = value;48 }49 }50 51 #region Additional test attributes52 //53 //You can use the following additional attributes as you write your tests:54 //55 //Use ClassInitialize to run code before running the first test in the class56 //[ClassInitialize()]57 //public static void MyClassInitialize(TestContext testContext)58 //{59 //}60 //61 //Use ClassCleanup to run code after all tests in a class have run62 //[ClassCleanup()]63 //public static void MyClassCleanup()64 //{65 //}66 //67 //Use TestInitialize to run code before running each test68 //[TestInitialize()]69 //public void MyTestInitialize()70 //{71 //}72 //73 //Use TestCleanup to run code after each test has run74 //[TestCleanup()]75 //public void MyTestCleanup()76 //{77 //}78 //79 #endregion80 81 82 33 /// <summary> 83 34 ///A test for Apply 84 35 ///</summary> 85 36 [TestMethod()] 37 [TestCategory("Encodings.RealVector")] 38 [TestProperty("Time", "short")] 86 39 public void PolynomialOnePositionManipulatorApplyTest() { 87 40 TestRandom random = new TestRandom(); … … 109 62 try { 110 63 PolynomialOnePositionManipulator.Apply(random, parent, contiguity, maxManipulation); 111 } 112 catch (System.ArgumentException) { 64 } catch (System.ArgumentException) { 113 65 exceptionFired = true; 114 66 } 115 67 Assert.IsTrue(exceptionFired); 116 68 } 117 118 /// <summary>119 ///A test for PolynomialOnePositionManipulator Constructor120 ///</summary>121 [TestMethod()]122 public void PolynomialOnePositionManipulatorConstructorTest() {123 PolynomialOnePositionManipulator target = new PolynomialOnePositionManipulator();124 }125 69 } 126 70 }
Note: See TracChangeset
for help on using the changeset viewer.