Changeset 9777 for trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.RealVectorEncoding-3.3/SimulatedBinaryCrossoverTest.cs
- Timestamp:
- 07/26/13 13:25:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.RealVectorEncoding-3.3/SimulatedBinaryCrossoverTest.cs
r9768 r9777 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Data; 24 using HeuristicLab.Encodings.RealVectorEncoding;25 24 using HeuristicLab.Tests; 26 25 using Microsoft.VisualStudio.TestTools.UnitTesting; 27 26 28 27 namespace HeuristicLab.Encodings.RealVectorEncoding.Tests { 29 30 31 28 /// <summary> 32 29 ///This is a test class for SimulatedBinaryCrossoverTest and is intended … … 35 32 [TestClass()] 36 33 public class SimulatedBinaryCrossoverTest { 37 38 39 private TestContext testContextInstance;40 41 /// <summary>42 ///Gets or sets the test context which provides43 ///information about and functionality for the current test run.44 ///</summary>45 public TestContext TestContext {46 get {47 return testContextInstance;48 }49 set {50 testContextInstance = value;51 }52 }53 54 #region Additional test attributes55 //56 //You can use the following additional attributes as you write your tests:57 //58 //Use ClassInitialize to run code before running the first test in the class59 //[ClassInitialize()]60 //public static void MyClassInitialize(TestContext testContext)61 //{62 //}63 //64 //Use ClassCleanup to run code after all tests in a class have run65 //[ClassCleanup()]66 //public static void MyClassCleanup()67 //{68 //}69 //70 //Use TestInitialize to run code before running each test71 //[TestInitialize()]72 //public void MyTestInitialize()73 //{74 //}75 //76 //Use TestCleanup to run code after each test has run77 //[TestCleanup()]78 //public void MyTestCleanup()79 //{80 //}81 //82 #endregion83 84 34 /// <summary> 85 35 ///A test for Cross 86 36 ///</summary> 87 [TestMethod] 88 [DeploymentItem("HeuristicLab.Encodings.RealVectorEncoding-3.3.dll")] 37 [TestMethod()] 38 [TestCategory("Encodings.RealVector")] 39 [TestProperty("Time", "short")] 89 40 public void SimulatedBinaryCrossoverCrossTest() { 90 41 SimulatedBinaryCrossover_Accessor target = new SimulatedBinaryCrossover_Accessor(new PrivateObject(typeof(SimulatedBinaryCrossover))); … … 119 70 ///A test for Apply 120 71 ///</summary> 121 [TestMethod] 72 [TestMethod()] 73 [TestCategory("Encodings.RealVector")] 74 [TestProperty("Time", "short")] 122 75 public void SimulatedBinaryCrossoverApplyTest() { 123 76 TestRandom random = new TestRandom(); … … 161 114 Assert.IsTrue(exceptionFired); 162 115 } 163 164 /// <summary>165 ///A test for SimulatedBinaryCrossover Constructor166 ///</summary>167 [TestMethod]168 public void SimulatedBinaryCrossoverConstructorTest() {169 SimulatedBinaryCrossover target = new SimulatedBinaryCrossover();170 }171 116 } 172 117 }
Note: See TracChangeset
for help on using the changeset viewer.