Changeset 9777 for trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.BinaryVectorEncoding-3.3/NPointCrossoverTest.cs
- Timestamp:
- 07/26/13 13:25:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.BinaryVectorEncoding-3.3/NPointCrossoverTest.cs
r9765 r9777 26 26 27 27 namespace HeuristicLab.Encodings.BinaryVectorEncoding.Tests { 28 29 30 28 /// <summary> 31 29 ///This is a test class for SinglePointCrossoverTest and is intended … … 34 32 [TestClass()] 35 33 public class NPointCrossoverTest { 36 37 38 private TestContext testContextInstance;39 40 /// <summary>41 ///Gets or sets the test context which provides42 ///information about and functionality for the current test run.43 ///</summary>44 public TestContext TestContext {45 get {46 return testContextInstance;47 }48 set {49 testContextInstance = value;50 }51 }52 53 #region Additional test attributes54 //55 //You can use the following additional attributes as you write your tests:56 //57 //Use ClassInitialize to run code before running the first test in the class58 //[ClassInitialize()]59 //public static void MyClassInitialize(TestContext testContext)60 //{61 //}62 //63 //Use ClassCleanup to run code after all tests in a class have run64 //[ClassCleanup()]65 //public static void MyClassCleanup()66 //{67 //}68 //69 //Use TestInitialize to run code before running each test70 //[TestInitialize()]71 //public void MyTestInitialize()72 //{73 //}74 //75 //Use TestCleanup to run code after each test has run76 //[TestCleanup()]77 //public void MyTestCleanup()78 //{79 //}80 //81 #endregion82 83 34 /// <summary> 84 35 ///A test for Cross 85 36 ///</summary> 86 37 [TestMethod] 87 [DeploymentItem("HeuristicLab.Encodings.BinaryVectorEncoding-3.3.dll")] 38 [TestCategory("Encodings.BinaryVector")] 39 [TestProperty("Time", "short")] 88 40 public void NPointCrossoverCrossTest() { 89 41 NPointCrossover_Accessor target = new NPointCrossover_Accessor(new PrivateObject(typeof(NPointCrossover))); … … 119 71 ///</summary> 120 72 [TestMethod] 73 [TestCategory("Encodings.BinaryVector")] 74 [TestProperty("Time", "short")] 121 75 public void NPointCrossoverApplyTest() { 122 76 TestRandom random = new TestRandom(); … … 167 121 Assert.IsTrue(exceptionFired); 168 122 } 169 170 /// <summary>171 ///A test for SinglePointCrossover Constructor172 ///</summary>173 [TestMethod]174 public void NPointCrossoverConstructorTest() {175 NPointCrossover target = new NPointCrossover();176 }177 123 } 178 124 }
Note: See TracChangeset
for help on using the changeset viewer.